/* Public feature layer. Legacy shared rules remain in site.css while the
   public/admin stylesheet split is completed incrementally. */

/* Brand + beta badge + audience tagline, grouped so the nav still pushes
   navlinks to the right (site.css puts margin-right:auto on a.brand alone;
   move it to the wrapper here since public_nav.html is the only consumer). */
.brandwrap { display:flex; flex-wrap:wrap; align-items:baseline; gap:.15rem .55rem;
  margin-right:auto; }
nav.top a.brand { margin-right:0; }
.betabadge { display:inline-block; font-size:.62rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.04em; color:var(--info);
  background:var(--chip); border-radius:999px; padding:.1rem .45rem; }
.brandtag { font-size:.8rem; font-weight:400; color:var(--muted); }
@media (max-width:640px) { .brandtag { display:none; } }

/* Keep filter controls and subscription actions usable at narrow widths. */
.filterbar, .pf-advanced, .sb-build, .sb-out { min-width:0; }
.filterbar { overflow-wrap:anywhere; }
.filterbar input, .filterbar select, .sb-frow select,
.sb-frow input[type=date] { max-width:100%; }

/* One public signal everywhere: talking is the stronger state, attendance the
   quieter one. It remains legible without relying on colour alone. */
.presence-badge { display:inline-flex; align-items:center; gap:.3em; width:max-content;
  padding:.16rem .48rem; border:1px solid currentColor; border-radius:999px;
  font-size:.74rem; font-weight:700; line-height:1.25; white-space:nowrap; }
.presence-badge.speaking, .presence-badge.ok { color:var(--ok); }
.presence-badge.attending, .presence-badge.warn { color:var(--warn); }
.presence-badge.organized, .presence-badge.accent { color:var(--accent); }
.presence-badge.info { color:var(--info); }
.presence-badge.muted { color:var(--muted); }
.presence-badge .ico { width:.95em; height:.95em; }
.presence-filters { display:inline-flex; flex-wrap:wrap; gap:.3rem; }
.presence-filter { display:inline-flex; align-items:center; }
.map-past-filter { display:inline; }
.map-past-filter .pill { cursor:pointer; }
.map-legend { display:none; flex-wrap:wrap; align-items:center; gap:.35rem;
  margin:.45rem 0 .8rem; font-size:.85rem; }
html.map-enhanced .map-legend { display:flex; }
td .presence-badge { vertical-align:middle; }
.relcard > .presence-badge { margin-top:.1rem; }

.cal-ev--presence-speaking { box-shadow:inset 0 0 0 2px var(--ok); }
.cal-ev--presence-attending { box-shadow:inset 0 0 0 2px var(--warn); }
.cal-ev--presence-organized { box-shadow:inset 0 0 0 2px var(--accent); }
.cal-presence-key { display:inline-flex; align-items:center; gap:.3rem; }
.cal-presence-key::before { content:""; width:.8rem; height:.55rem; border-radius:3px;
  background:var(--info); box-sizing:border-box; }
.cal-presence-key.speaking::before { border:2px solid var(--ok); }
.cal-presence-key.attending::before { border:2px solid var(--warn); }
.cal-presence-key.organized::before { border:2px solid var(--accent); }

.presence-summary { margin-top:1rem; }
.presence-edition > .presence-summary { margin-top:0; }
.presence-summary > p:first-child { margin-top:0; }
.presence-people { display:grid; grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));
  gap:.8rem; margin:.9rem 0; }
/* A lone contribution is still a gallery card, never a hero image. At narrow
   widths the track remains fluid; on larger screens it matches the compact
   card measure used when several contributions sit side by side. */
.presence-people--single-activity { grid-template-columns:minmax(0,22rem); }
.presence-talk-link { text-underline-offset:.18em; }
.presence-contributions { margin-top:1.1rem; }
.presence-contributions > h3 { margin-bottom:.5rem; }
.presence-contribution { padding:.75rem 0; border-top:1px solid var(--line); }
.presence-contribution .eyebrow { margin:0 0 .15rem; color:var(--muted);
  font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.presence-contribution h3 { margin:.1rem 0 .35rem; }
.presence-contribution .md-body > :first-child { margin-top:0; }
.presence-contribution .md-body > :last-child { margin-bottom:0; }
.presence-resources { margin:.45rem 0 0; font-size:.84rem; }
.presence-edition { margin:.75rem 0; padding:.85rem; border:1px solid var(--line);
  border-radius:10px; }
.presence-edition > h3 { margin:0 0 .7rem; }
.presence-collection { margin:1.45rem 0; }
.presence-collection > h3 { font:700 .8rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  color:var(--muted); letter-spacing:.06em; margin:0 0 .7rem; }
/* Upcoming work is the page's primary, actionable signal. The history below
   is a compact cross-edition gallery, matching the footprint layout. */
.presence-collection--upcoming .fp-grid { grid-template-columns:1fr; }
/* A one-item collection should never become a page-width pseudo-hero. The
   capped grid track also covers an attendance card, which is not .fp-row. */
.presence-collection--single .fp-grid { grid-template-columns:minmax(0,22rem); }
.presence-activity-dialog { width:min(42rem,calc(100vw - 2rem)); max-height:calc(100vh - 2rem);
  overflow:auto; border:1px solid var(--line); border-radius:12px; padding:1.25rem;
  color:var(--fg); background:var(--card); }
.presence-activity-dialog::backdrop { background:rgb(0 0 0 / .48); }
/* A scrim behind the × keeps it legible over the activity photo (or anything
   else) instead of the bare, background-less glyph other .dlg-x dialogs use —
   see CLAUDE.md pitfalls: this rule is scoped to this dialog, not shared. A
   lucide "x" (via icon("x"), see _activity_dialogs) replaces the text glyph
   here too, so it renders crisp at any size instead of a font's × glyph. */
.presence-activity-dialog .dlg-x { position:absolute; top:.5rem; right:.5rem;
  width:1.9rem; height:1.9rem; display:grid; place-items:center; border:0; border-radius:50%;
  background:color-mix(in srgb,var(--card) 82%,transparent); backdrop-filter:blur(3px);
  color:var(--fg); cursor:pointer; padding:0; z-index:2; }
.presence-activity-dialog .dlg-x .ico { width:1rem; height:1rem; }
.presence-activity-dialog .dlg-x:hover { background:var(--card); }
.presence-activity-dialog .dlg-x:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
.presence-activity-dialog h2, .presence-activity-page h2 { margin:.1rem 2rem .6rem 0; }
.activity-title-link { color:var(--accent); text-decoration:underline; text-decoration-thickness:1px;
  text-underline-offset:.13em; }
.activity-title-link:hover { color:var(--fg); text-decoration-thickness:2px; }
.activity-official { display:inline-flex; vertical-align:middle; margin-left:.35em;
  color:var(--muted); }
.activity-official .ico { width:.85em; height:.85em; }
.activity-official:hover { color:var(--accent); }
.presence-activity-byline { margin:-.2rem 0 .85rem; color:var(--muted); }
.activity-media { position:relative; margin:0 0 .9rem; }
.activity-media .activity-photo { margin:0; }
/* Kind chip floats on the photo the same way .fp-badge does on a /footprint
   card; without a photo it stays inline (.activity-eyebrow) instead. */
.activity-media .presence-badge { position:absolute; top:.6rem; left:.6rem;
  background:color-mix(in srgb,var(--card) 88%,transparent); backdrop-filter:blur(3px); }
.activity-eyebrow { margin:0 0 .5rem; }
.activity-meta-line { display:flex; align-items:center; justify-content:space-between; gap:.6rem;
  margin:.2rem 0 .5rem; }
.presence-activity-dialog .activity-meta-line { padding-right:2.35rem; }
.activity-meta-line .activity-crumb { margin:0; }
.activity-meta-line .presence-badge { flex:none; }
.activity-photo { display:block; width:100%; aspect-ratio:16/9; object-fit:cover;
  border-radius:8px; margin:0 0 .9rem; }
/* A real link to the parent edition — unlike breadcrumb trails (.crumbs),
   this is the page's one meaningful "back to" link, so it keeps the
   ordinary accent+underline <a> styling instead of .crumbs' muted, no
   text-decoration treatment. */
.activity-crumb { font-size:.8rem; margin:.2rem 0 .5rem; }
.activity-resources-public { margin:.9rem 0 .15rem; }
.activity-resources-label { display:block; margin:0 0 .35rem; color:var(--muted); font-size:.7rem;
  font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.activity-resource-links { display:flex; flex-wrap:wrap; gap:.4rem; }
.activity-resource { display:inline-flex; align-items:center; gap:.35em; padding:.32rem .52rem;
  border:1px solid var(--line); border-radius:7px; background:var(--chip); color:var(--fg);
  font-size:.82rem; font-weight:600; text-decoration:none; }
.activity-resource > .ico:first-child { color:var(--accent); }
.activity-resource-ext { width:.78em; height:.78em; color:var(--muted); }
.activity-resource:hover, .activity-resource:focus-visible { border-color:var(--accent); color:var(--accent); }

/* Esri product/technology tags on a contribution — a separate, non-filterable
   vocabulary (see admin's Esri tags page). Plain outlined spans, never links,
   so they never read as a clickable filter like .chip does. */
.esritags { display:inline-flex; flex-wrap:wrap; gap:.3rem; margin:.3rem 0; }
.esritag { display:inline-block; border:1px solid var(--line); border-radius:5px;
  padding:.05rem .5rem; font-size:.72rem; font-weight:600; color:var(--muted); }
.presence-contribution .esritags { margin:.25rem 0 0; }
.presence-activity-dialog .md-body > :first-child, .presence-activity-page .md-body > :first-child { margin-top:0; }
.presence-activity-dialog .md-body > :last-child, .presence-activity-page .md-body > :last-child { margin-bottom:0; }
.presence-activity-page { max-width:46rem; padding:1.1rem 1.25rem; border:1px solid var(--line);
  border-radius:12px; background:var(--card); }

/* Public tables scroll as a unit instead of forcing the page wider. */
.tablewrap { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.tablewrap table { min-width:34rem; }

/* Calendar bars and map widgets keep stable dimensions on compact screens. */
.cal-month, .cal-grid, arcgis-map { min-width:0; }
arcgis-map#map { min-height:300px; }
.cal-nav__label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Curator-only public editor: keep the pencil quiet until the location is
   hovered or keyboard-focused, and keep its form from changing the facts row
   until the curator explicitly opens it. */
.public-venue { display:inline-flex; align-items:baseline; gap:.15rem; }
.public-venue__edit { opacity:0; border:0; background:transparent; color:var(--muted);
  padding:0 .12rem; cursor:pointer; line-height:1; }
.public-venue:hover .public-venue__edit,
.public-venue__edit:focus-visible { opacity:1; }
.public-venue__edit .ico { width:.82em; height:.82em; }
.public-venue__form { display:inline-flex; align-items:baseline; gap:.3rem;
  flex-wrap:wrap; margin:0; }
.public-venue__form[hidden] { display:none; }
.public-venue__form label { margin:0; }
.public-venue__form input { width:min(16rem,60vw); padding:.2rem .35rem; }
.public-venue__form button { padding:.2rem .55rem; font-size:.82rem; }
.kf-loc:hover .public-location__edit, .public-location__edit:focus-visible { opacity:1; }
.ed-note:hover .public-notes__edit { opacity:1; }
.public-md-field { display:flex; align-items:flex-start; gap:.35rem; }
.public-md-field .md-body { flex:1; min-width:0; }
.public-md-field:hover .public-md__edit { opacity:1; }
.speakerfacts > li:hover .public-md__edit { opacity:1; }
.public-event__edit { opacity:0; border:0; background:transparent; color:var(--muted);
  padding:0 .12rem; cursor:pointer; line-height:1; }
.kf-when:hover .public-event__edit, .public-event__edit:focus-visible { opacity:1; }
.public-event__edit .ico { width:.82em; height:.82em; }
.public-event-dialog label { display:block; margin-bottom:.25rem; }
.public-event-dialog input, .public-event-dialog select { display:block; width:calc(100% - .65rem); margin:.3rem 0 0 .65rem; box-sizing:border-box; }
.public-event-actions { grid-column:1 / -1; display:flex; justify-content:flex-end; gap:.5rem; margin:.8rem 0 0; }
.public-event-actions button { display:inline-flex; align-items:center; gap:.35rem; margin:0; }
.public-date__edit { opacity:0; border:0; background:transparent; color:var(--muted); padding:0 .12rem; cursor:pointer; line-height:1; }
.dates tr:hover .public-date__edit, .public-date__edit:focus-visible { opacity:1; }
.public-date__edit .ico { width:.82em; height:.82em; }
.public-date-dialog { width:min(42rem,calc(100vw - 2rem)); max-height:calc(100vh - 2rem); overflow:auto; border:1px solid var(--line); border-radius:10px; padding:1.2rem; color:var(--fg); background:var(--card); }
.public-date-dialog::backdrop { background:rgb(0 0 0 / .42); }
.public-date-dialog label { display:block; margin:.7rem 0; line-height:1.25; }
.public-date-dialog input, .public-date-dialog select { display:block; width:100%; margin:.35rem 0 0; box-sizing:border-box; }
.public-date-actions { display:flex; justify-content:flex-end; gap:.5rem; margin:.8rem 0 0; }
.public-date-actions button { display:inline-flex; align-items:center; gap:.35rem; margin:0; }
.public-date-add { margin-top:.8rem; }
.public-date-add > button, .public-tags__edit { display:inline-flex; align-items:center; gap:.35rem; }
.public-tags { display:inline-flex; align-items:baseline; gap:.25rem; }
.public-tags__edit { opacity:0; border:0; background:transparent; color:var(--muted); padding:0 .12rem; cursor:pointer; line-height:1; }
.detailchips:hover + .public-tags .public-tags__edit, [data-tags-value]:hover + .public-tags .public-tags__edit,
.public-tags:hover .public-tags__edit, .public-tags:has(.tags-empty) .public-tags__edit,
.public-tags__edit:focus-visible { opacity:1; }
.public-tags__edit .ico, .public-date-add .ico { width:.82em; height:.82em; }
.public-tags-dialog { width:min(46rem,calc(100vw - 2rem)); max-height:calc(100vh - 2rem); overflow:auto; border:1px solid var(--line); border-radius:10px; padding:1.2rem; color:var(--fg); background:var(--card); }
.public-tags-dialog::backdrop { background:rgb(0 0 0 / .42); }
.public-tags-tabs { display:flex; flex-wrap:wrap; gap:.25rem; border-bottom:1px solid var(--line); margin:1rem 0 .65rem; }
.public-tags-tabs [role="tab"] { border:0; border-bottom:2px solid transparent; background:transparent; border-radius:0; color:var(--muted); padding:.45rem .6rem; white-space:nowrap; }
.public-tags-tabs [role="tab"][aria-selected="true"] { border-bottom-color:var(--accent); color:var(--fg); font-weight:600; }
.public-tags-result-count { color:var(--muted); font-variant-numeric:tabular-nums; }
.public-tags-search { display:block; margin:.65rem 0; }
.public-tags-search input { display:block; width:100%; box-sizing:border-box; margin-top:.25rem; }
.public-tags-dialog fieldset { border:0; padding:0; margin:1rem 0; }
.public-tags-dialog legend { font-weight:700; margin-bottom:.4rem; }
.public-tags-dialog .tagpicker { display:flex; flex-wrap:wrap; gap:.35rem; }
.public-tags-dialog .public-tags-extras-groups { display:block; }
.public-tags-facet-tabs { display:flex; flex-wrap:wrap; gap:.25rem; margin:.65rem 0; padding:.35rem; border:1px solid var(--line); border-radius:8px; background:var(--chip); }
.public-tags-facet-tabs [role="tab"] { border:1px solid transparent; background:transparent; color:var(--muted); padding:.3rem .5rem; white-space:normal; }
.public-tags-facet-tabs [role="tab"][aria-selected="true"] { border-color:var(--accent); background:var(--card); color:var(--accent); font-weight:600; }
.public-tags-dialog .public-tags-facet { margin:.7rem 0; }
.public-tags-dialog .public-tags-facet-heading { color:var(--muted); font-size:.8rem; margin:.4rem 0; }
[data-tags-enhanced] > [data-tags-panel] > legend, [data-tags-enhanced] .public-tags-facet-heading { display:none; }
.public-tags-dialog .pill { display:inline-flex; align-items:center; gap:.25rem; border:1px solid var(--line); border-radius:999px; padding:.22rem .5rem; cursor:pointer; }
.public-tags-dialog .pill:has(input:checked) { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 12%,transparent); }
.public-tags-dialog small { color:var(--muted); }
.public-tags-actions { display:flex; justify-content:flex-end; gap:.5rem; margin:.8rem 0 0; }
.public-tags-actions button { display:inline-flex; align-items:center; gap:.35rem; margin:0; }
.kf-site:hover .public-site__edit { opacity:1; }
.public-resource { display:inline-flex; align-items:baseline; gap:.2rem; }
.edition-resource:hover .public-resource__edit { opacity:1; }
@media (max-width:560px) {
  .presence-people { grid-template-columns:1fr; }
}

@media (max-width:640px) {
  main { margin-top:1rem; padding-left:.85rem; padding-right:.85rem; }
  .tablewrap table { min-width:31rem; }
  .cal-nav { gap:.25rem; }
  .cal-nav__label { min-width:0; flex:1; }
  .subbtn { max-width:100%; white-space:normal; }
}

@media (max-width:560px) {
  .fb-2col { grid-template-columns:1fr; }
  .about-lede { font-size:1rem; }
}

/* --- /footprint (cross-edition team activity) -------------------- */
.fp-head { margin:.3rem 0 .75rem; }
.fp-head .pagehead h1 { margin-bottom:0; }
.fp-lede { margin:.4rem 0 0; max-width:46rem; font-size:1rem; line-height:1.5; }
.fp-kpis { font-variant-numeric:tabular-nums; }
.fp-head + .fp-kpis { margin-top:3rem; }
.fp-quickadd + .fp-kpis { margin-top:0; }
.fp-kpi { display:flex; flex-direction:column; align-items:center; }
.fp-kpi-icon { display:grid; place-items:center; width:2.35rem; height:2.35rem; margin-bottom:.35rem;
  border:1px solid var(--line); border-radius:50%; color:var(--accent); background:var(--chip); }
.fp-kpi-icon .ico { width:1.05rem; height:1.05rem; }
.fp-kpi b { min-width:2ch; font-size:1.9rem; letter-spacing:-.035em; }
.fp-kpi > span:last-child { max-width:14rem; }
.fp-audience-lens { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; margin:1rem 0 0;
  color:var(--muted); font-size:.82rem; }
.fp-audience-lens button, .fp-scope { border:1px solid var(--line); border-radius:999px; background:var(--chip);
  color:var(--muted); padding:.2rem .55rem; font:inherit; }
.fp-audience-lens button { cursor:pointer; }
.fp-audience-lens button.active { border-color:var(--accent); background:var(--accent); color:#fff; }
.fp-scope { align-self:flex-start; font-size:.72rem; }
.fp-scope-employees { color:var(--info); }
.fp-scope-admin { color:var(--warn); }
.fp-since { margin:.55rem 0 0; text-align:center; font-size:.74rem; letter-spacing:.01em; opacity:.78; }
.fp-blk { margin-top:2.2rem; }
.fp-blkhead { display:flex; align-items:baseline; justify-content:space-between;
  gap:1rem; flex-wrap:wrap; margin-bottom:.7rem; }
.fp-blkhead h2 { margin:0; }
.fp-small { font-size:1.02rem; }
.fp-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(15.5rem,1fr)); gap:.8rem; }
/* Contribution cards are deliberately narrower than the detail-page canvas:
   a single photo should read as one contribution, not as a hero image. This
   also keeps an isolated card calm in every public view that reuses .fp-row. */
.fp-row { display:flex; flex-direction:column; width:100%; max-width:46rem; border:1px solid var(--line); border-radius:12px;
  background:var(--card); overflow:hidden; cursor:pointer; }
.fp-row:hover { border-color:var(--accent); }
.fp-attendance-card { min-height:9.25rem;
  background:linear-gradient(135deg,color-mix(in srgb,var(--warn) 7%,var(--card)),var(--card)); cursor:default; }
.fp-attendance-card:not(.fp-attendance-card--resources):hover { border-color:var(--line); }
a.fp-attendance-card--resources { color:var(--fg); cursor:pointer; text-decoration:none; }
.fp-attendance-card .fp-body { justify-content:center; }
.fp-attendance-card .presence-badge { align-self:flex-start; }
.fp-internal-link { display:inline-flex; align-items:center; gap:.3em; width:max-content;
  color:var(--muted); font-size:.82rem; font-weight:600; text-decoration:underline dotted;
  text-underline-offset:.18em; }
.fp-internal-link:hover { color:var(--accent); }
.fp-internal-link .ico { width:.95em; height:.95em; }
.fp-media { position:relative; }
.fp-photo { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.fp-media-placeholder { display:grid; place-items:center; aspect-ratio:16/10;
  color:var(--fp-kind, var(--muted));
  background:linear-gradient(135deg, color-mix(in srgb, currentColor 14%, var(--card)),
    color-mix(in srgb, currentColor 4%, var(--card))); }
.fp-placeholder-icon { display:grid; place-items:center; width:3.4rem; height:3.4rem;
  border:1px solid color-mix(in srgb, currentColor 28%, transparent); border-radius:50%;
  opacity:.8; }
.fp-placeholder-icon .ico { width:1.45rem; height:1.45rem; }
.fp-row[data-kind="talk"] .fp-media-placeholder { --fp-kind:var(--ok); }
.fp-row[data-kind="keynote"] .fp-media-placeholder { --fp-kind:var(--accent); }
.fp-row[data-kind="workshop"] .fp-media-placeholder,
.fp-row[data-kind="panel"] .fp-media-placeholder { --fp-kind:var(--info); }
.fp-row[data-kind="training"] .fp-media-placeholder { --fp-kind:var(--warn); }
.fp-badge { position:absolute; top:.6rem; left:.6rem;
  background:color-mix(in srgb,var(--card) 88%,transparent); backdrop-filter:blur(3px); }
.fp-body { min-width:0; display:flex; flex-direction:column; flex:1; gap:.5rem;
  padding:1rem 1.05rem; }
.fp-body h3 { margin:0; font-size:1.02rem; }
.fp-body h3 > a.dlg-link { line-height:1.65; }
.fp-body .presence-badge { font-size:.74rem; align-self:flex-start; }
.fp-where { margin:0; color:var(--muted); font-size:.86rem; }
.fp-footer { display:flex; flex-direction:column; gap:.5rem; margin-top:auto; padding-top:.15rem; }
.fp-who { display:flex; flex-wrap:wrap; gap:.5rem; }
.fp-person { display:inline-flex; align-items:center; gap:.4rem; font-size:.84rem; }
.fp-avatar { width:1.7rem; height:1.7rem; border-radius:50%; object-fit:cover; flex:none;
  background:var(--chip); color:var(--muted); display:grid; place-items:center;
  font-size:.66rem; font-weight:700; }
.fp-year + .fp-year { margin-top:1.4rem; }
.fp-year h3 { font:700 .8rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--muted);
  letter-spacing:.06em; margin:0 0 .6rem; }
.fp-year { scroll-margin-top:3.2rem; }
.fp-more { margin-top:1.4rem; }
.fp-more > summary { cursor:pointer; color:var(--accent); font-weight:600; font-size:.88rem;
  list-style:none; }
.fp-more > summary::-webkit-details-marker { display:none; }
.fp-more > summary::before { content:"+ "; }
.fp-more[open] > summary::before { content:"− "; }
.fp-more[open] > summary { margin-bottom:1.4rem; }
.fp-yearnav { position:sticky; top:.6rem; z-index:5; display:flex; flex-wrap:wrap; gap:.3rem 1rem;
  margin-bottom:.9rem; padding:.5rem .7rem; border:1px solid var(--line); border-radius:10px;
  background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:blur(4px); }
.fp-yearnav a { display:inline-flex; align-items:baseline; gap:.3rem; color:var(--muted);
  text-decoration:none; font-size:.86rem; font-weight:600; }
.fp-yearnav a:hover, .fp-yearnav a.on { color:var(--fg); }
.fp-yearnav a.on { text-decoration:underline; text-underline-offset:.2em; }
.fp-yearcount { font-variant-numeric:tabular-nums; font-weight:400; color:var(--muted);
  font-size:.76rem; }
.fp-yearmore > summary { cursor:pointer; color:var(--accent); font-weight:600; font-size:.86rem;
  list-style:none; white-space:nowrap; }
.fp-yearmore > summary::-webkit-details-marker { display:none; }
.fp-yearmore > summary::before { content:"+ "; }
.fp-yearmore[open] > summary::before { content:"− "; }
.fp-yearmore-list { display:flex; flex-wrap:wrap; align-items:baseline; gap:.3rem 1rem;
  margin-top:.5rem; }
.fp-filterbar { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.9rem; }
.fp-chip { border:1px solid var(--line); background:var(--chip); color:var(--muted);
  border-radius:999px; padding:.25rem .7rem; font-size:.78rem; font-weight:600; cursor:pointer; }
.fp-chip.active { background:var(--accent); border-color:var(--accent); color:#fff; }
.res-controls { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; margin:1.2rem 0 .9rem; }
.res-controls .fp-filterbar { margin-bottom:0; }
.res-search { padding:.35rem .6rem; min-width:14rem; flex:1 1 14rem; }
.resgroup > summary { cursor:pointer; list-style:none; }
.resgroup > summary::-webkit-details-marker { display:none; }
.resgroup > summary::before { content:"\203a"; display:inline-block; width:1em;
  transition:transform .15s; }
.resgroup[open] > summary::before { transform:rotate(90deg); }
.resgroup > summary h2 { display:inline; margin:0; font-size:1.15rem; }
.reslink { margin:.2rem 0 .9rem; font-size:.85rem; }
.reslink a { margin-right:.6rem; }
.fp-midcta { margin-top:1.6rem; }
.fp-midcta .cta { margin:0; }
.fp-legend { display:flex; flex-wrap:wrap; gap:1rem; padding:.6rem .1rem 0; }
.fp-alsolist { display:flex; flex-direction:column; }
.fp-also { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:baseline; gap:1rem;
  padding:.5rem 0; border-top:1px solid var(--line); font-size:.87rem; }
.fp-also a { color:var(--muted); text-decoration:underline dotted; text-underline-offset:.18em; }
.fp-also a:hover { color:var(--fg); }
.fp-cta .cta { margin:0; }
.fp-faces { display:flex; flex-wrap:wrap; gap:.85rem; }
.fp-face { display:flex; flex-direction:column; align-items:center; gap:.35rem; width:5.25rem;
  color:var(--fg); text-align:center; text-decoration:none; font-size:.76rem; line-height:1.2; }
.fp-face img, .fp-face > span:first-child { width:3.5rem; height:3.5rem; border-radius:50%; object-fit:cover;
  display:grid; place-items:center; background:var(--chip); color:var(--muted); font-weight:700; }
.fp-face:hover { color:var(--accent); text-decoration:underline; text-underline-offset:.2em; }
/* curator-only shortcuts into /admin — see _footprint_admin_actions and
   _footprint_quickadd in public.py */
.fp-admin { display:flex; gap:.35rem; margin-top:.2rem; }
.fp-admin .headbtn { margin-top:0; padding:.25rem .4rem; }
.fp-also .fp-admin { margin-top:0; }
.fp-quickadd { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem;
  margin:-.1rem 0 .95rem; padding:.6rem .8rem; border:1px dashed var(--line);
  border-radius:10px; font-size:.85rem; }
.fp-quickadd label { font-weight:600; color:var(--muted); }
.fp-quickadd input { flex:1; min-width:10rem; }
.person-profile { margin:1.5rem auto; }
.person-profile-back { display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:.6rem; margin:0 0 .65rem; font-size:.88rem; }
.person-profile-backlink { color:var(--muted); text-decoration:none; }
.person-profile-backlink:hover { color:var(--accent); text-decoration:underline; text-underline-offset:.2em; }
.person-profile-hero { display:grid; grid-template-columns:7.5rem minmax(0,1fr); gap:1.35rem;
  align-items:start; padding:1.35rem; border:1px solid var(--line); border-radius:16px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 7%,var(--card)),var(--card) 52%); }
.person-profile-avatar { width:7.5rem; height:7.5rem; border-radius:50%; padding:.2rem;
  background:var(--card); border:1px solid color-mix(in srgb,var(--accent) 32%,var(--line));
  box-shadow:0 .35rem 1.1rem rgb(0 0 0 / .09); overflow:hidden; }
.person-profile-photo, .person-profile-monogram { display:block; width:100%; height:100%; border-radius:50%; }
.person-profile-photo { object-fit:cover; }
.person-profile-monogram { display:grid; place-items:center; background:var(--chip); color:var(--accent);
  font-size:2.5rem; font-weight:720; }
.person-profile-main { min-width:0; }
.person-profile-meta { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem; margin-bottom:.15rem; }
.person-profile-role { margin:0; color:var(--muted); font-size:.8rem; font-weight:700;
  letter-spacing:.055em; text-transform:uppercase; }
.person-profile-meta .fp-scope { margin:0; }
.person-profile h1 { margin:0 0 .55rem; font-size:clamp(1.55rem,3vw,2rem); line-height:1.18; }
.person-profile-position { margin:-.2rem 0 .7rem; color:var(--muted); font-size:1rem; line-height:1.4; }
.person-profile-interests { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; margin:0 0 .7rem; }
.person-profile-interests .lbl { color:var(--muted); font-size:.75rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.04em; margin-right:.15rem; }
.person-profile-main .md-body > :first-child { margin-top:0; }
.person-profile-main .md-body > :last-child { margin-bottom:0; }
.person-profile-links { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:1rem; }
.person-profile-link { display:inline-flex; align-items:center; gap:.38rem; min-height:2.2rem; padding:.34rem .62rem;
  border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--fg);
  font-size:.86rem; font-weight:650; line-height:1; text-decoration:none; }
.person-profile-link:hover { border-color:var(--accent); color:var(--accent); background:color-mix(in srgb,var(--accent) 7%,var(--card)); }
.person-profile-platform { width:1rem; height:1rem; flex:none; fill:currentColor; }
.person-profile-platform.ico { fill:none; stroke:currentColor; }
.person-profile-external { width:.75rem; height:.75rem; margin-left:.05rem; color:var(--muted); }
.person-contributions { margin-top:2rem; }
.person-contributions h2 { margin-bottom:.6rem; }
/* self-service editor (/people/<slug>) — the contribution resource list
   plus .person-photo-editor, .internal-notes and the tag/person pickers are
   shared with /admin and styled in site.css; these are public-only. */
.person-edit { margin-top:1rem; }
.person-edit > summary { color:var(--accent); font-weight:650; }
.person-edit .formgrid { margin:.4rem 0; }
.person-edit-links { margin:.8rem 0; }
.person-edit-links h3 { margin:0 0 .3rem; font-size:.92rem; }
/* pencil "edit" trigger on a contribution card (.fp-row, on /people/<slug>,
   /footprint and the Presence tabs) — sits next to the kind badge (photo
   case: overlaid on .fp-media like .fp-badge; no-photo case: .fp-badgerow
   puts badge + trigger on one row) and opens `_activity_edit_dialogs`'s
   per-activity dialog. */
.fp-edit { position:absolute; top:.6rem; right:.6rem; display:inline-flex;
  align-items:center; justify-content:center; width:1.7rem; height:1.7rem;
  border:0; border-radius:999px; cursor:pointer; color:var(--muted);
  background:color-mix(in srgb,var(--card) 88%,transparent); backdrop-filter:blur(3px); }
.fp-edit:hover { color:var(--accent); }
.fp-badgerow { display:flex; align-items:center; justify-content:space-between; }
.fp-badgerow .fp-edit { position:static; background:none; backdrop-filter:none;
  width:1.5rem; height:1.5rem; }
.fp-addtile { display:flex; align-items:center; justify-content:center;
  min-height:8rem; border:1px dashed var(--line); background:none;
  color:var(--muted); font:inherit; font-weight:600; cursor:pointer; }
.fp-addtile:hover { border-color:var(--accent); color:var(--accent); }

/* "Find my fit" guidance (/fit) — docs/conference-guidance-prototype.md.
   static/js/fit.js drives the goal→frame→matches stepper and the
   sub-stepper inside "frame"; every panel it toggles renders fully in the
   markup either way, so a no-JS visit gets one long stacked page instead
   of a broken control. */
.stepbar { display:flex; gap:.4rem; margin:.3rem 0 1.4rem; flex-wrap:wrap; }
.stepbar .pill.on { background:color-mix(in srgb,var(--accent) 10%,var(--bg)); }

.fit-saved { margin-bottom:1.2rem; }
.saved-row { display:flex; align-items:center; justify-content:space-between;
  gap:.8rem; padding:.5rem 0; border-top:1px solid var(--line); }
.saved-row:first-child { border-top:0; }
.saved-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:.15rem; }
.saved-open { color:inherit; text-decoration:none; }
.saved-open:hover, .saved-open:focus-visible { color:var(--accent); }
.saved-open b { display:block; font-size:.9rem; }
.saved-talk { font-size:.85rem; }
.saved-links { display:flex; flex-wrap:wrap; gap:.6rem; font-size:.82rem; }
.saved-actions { display:flex; gap:.4rem; flex-shrink:0; }
.saved-row.paused .saved-open b { color:var(--muted); }
/* the layout lives on an inner div: <details> wraps its content in a
   ::details-content box that flex/grid on the details itself can't reach */
.fit-saved-paused { margin-top:.6rem; border-top:1px solid var(--line); padding-top:.5rem; }
.fit-saved-paused > summary { cursor:pointer; font-size:.85rem; font-weight:600; color:var(--muted); }
.fit-saved-context { margin:.2rem 0 .8rem; }

.goalgroup { margin-bottom:1.2rem; }
.goalgroup-title { font-size:.72rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.05em; color:var(--muted); margin:0 0 .5rem; }
.goalgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(15rem,1fr)); gap:.55rem; }
.goalcard { display:flex; gap:.6rem; align-items:center; text-decoration:none;
  background:var(--card); border:1px solid var(--line); border-radius:10px;
  padding:.55rem .75rem; color:var(--fg); }
.goalcard:hover, .goalcard:focus-visible { border-color:var(--accent); }
.goalicon { flex:none; width:1.9rem; height:1.9rem; border-radius:8px; background:var(--chip);
  display:grid; place-items:center; color:var(--accent); }
.goalicon .ico { width:1rem; height:1rem; }
.goalbody { min-width:0; }
.goalbody b { display:block; font-size:.87rem; line-height:1.25; }
.goalbody .status { display:block; font-size:.68rem; color:var(--muted); margin-top:.1rem; }
.goalbody .status.available { color:var(--ok); font-weight:600; }

/* /fit "Following" tab — a .relcard row plus a sibling Unfollow form, never
   nested inside the card's own link (see CLAUDE.md's .relcard pitfall). */
.followlist { display:flex; flex-direction:column; gap:.5rem; margin:.6rem 0; }
.followrow { display:flex; align-items:center; gap:.6rem; }
.followrow .relcard { flex:1; }

/* /fit "Recommended" tab's interest picker disclosure */
.fit-interests { margin:.6rem 0 1.2rem; }

.fit-pref-saved { margin:-.6rem 0 1rem; font-size:.85rem; color:var(--ok); font-weight:600; }

.subnav { list-style:none; display:flex; flex-wrap:wrap; gap:.4rem; margin:0 0 1.3rem; padding:0; }
.subnav-item { display:inline-flex; align-items:center; gap:.35rem; font:inherit;
  font-size:.82rem; font-weight:600; padding:.3rem .7rem; border:1px solid var(--line);
  border-radius:999px; background:var(--bg); color:var(--muted); cursor:pointer; }
.subnav-item:hover { border-color:var(--accent); }
.subnav-item.current { border-color:var(--accent); color:var(--accent);
  background:color-mix(in srgb,var(--accent) 8%,var(--bg)); }
.subnav-item.done:not(.current) { color:var(--fg); }
.subnav-check { display:inline-flex; width:1em; height:1em; }
.subnav-check .sc-empty { display:inline-flex; }
.subnav-check .sc-done { display:none; color:var(--ok); }
.subnav-item.done .subnav-check .sc-empty { display:none; }
.subnav-item.done .subnav-check .sc-done { display:inline-flex; }

.subpanel { margin:0 0 1.4rem; }
body[data-fitjs] .subpanel:not(.active) { display:none; }
.subq { font-size:1.05rem; font-weight:600; margin:0 0 .2rem; }
.chipset { display:flex; flex-wrap:wrap; gap:.3rem; align-items:center; }
.fitfield + .fitfield { margin-top:.9rem; }

/* Per-tag importance (audience/domain/topic/language/format only) — a
   plain checkbox pill by default (no-JS); static/js/fit.js turns a click
   into a 4-state cycle (off → prefer → important → must → off) driven by
   the two real .impchk checkboxes it hides, and swaps the checkbox for
   the ascending-bars icon it fills progressively instead — fixed size,
   so the pill's width never changes between states, and the fill count +
   color together (not color alone) carry the level. A no-JS visit still
   selects every tag fine, just sees the plain checkbox and can't
   escalate weight — see docs/conference-guidance-prototype.md's
   "Per-tag importance". */
.tagimp { display:inline-flex; }
.tagcount { font-size:.85em; }
body[data-fitjs] .impchk { display:none; }
body[data-fitjs] .tagimp .tagcheck { position:absolute; opacity:0; width:0; height:0; margin:0; }
.implevel { display:none; width:1.1em; height:1.1em; flex:none; }
body[data-fitjs] .tagimp .implevel { display:inline-flex; }
.implevel .lv-on, .implevel .lv-avoid { display:none; width:1.1em; height:1.1em; }
.tagimp .pill.on .implevel .lv-off { display:none; }
.tagimp .pill.on .implevel .lv-on { display:inline-flex; }
.implevel .bar { fill:var(--line); }
.tagimp .pill.on .implevel .b1 { fill:currentColor; }
.tagimp .pill.lvl-important .implevel .b2,
.tagimp .pill.lvl-must .implevel .b2 { fill:currentColor; }
.tagimp .pill.lvl-must .implevel .b3 { fill:currentColor; }
.pill.lvl-important { border-color:var(--info); color:var(--info); }
.pill.lvl-must { border-color:var(--urgent); background:var(--urgent); color:#fff; }
/* "avoid" swaps the bar icon for the x glyph entirely (a different shape,
   not a 4th fill level) — these two rules must win over the ".pill.on
   .implevel .lv-on" one above, so they're placed after it (equal
   specificity; source order breaks the tie). Outlined, not filled, so it
   doesn't read as a color-twin of the solid-red "must have" pill. */
.tagimp .pill.lvl-avoid .implevel .lv-on { display:none; }
.tagimp .pill.lvl-avoid .implevel .lv-avoid { display:inline-flex; }
.pill.lvl-avoid { border-color:var(--urgent); color:var(--urgent); }
/* explains the .tagimp cycling icon above — see public._TAG_LEVEL_LEGEND */
.tagimp-legend { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem;
  margin:.5rem 0 0; color:var(--muted); font-size:.78rem; }
.tagimp-legend .pill { cursor:default; font-size:.78rem; padding:.15rem .5rem; }
.matchwrap { margin-top:.5rem; }
body[data-fitjs] .matchwrap:not(.show) { display:none; }
.modewrap { margin-top:.5rem; }
body[data-fitjs] .modewrap:not(.show) { display:none; }
.mode-q { color:var(--muted); font-size:.78rem; font-weight:600; margin:0 0 .3rem; }
.subfooter { display:flex; align-items:center; justify-content:space-between;
  gap:.8rem; flex-wrap:wrap; margin-top:1.1rem; }

.fit-summary { margin:0 0 1rem; }
.fit-summary-empty { margin:0 0 1rem; }
.review-row { display:flex; flex-wrap:wrap; align-items:baseline; gap:.3rem .5rem;
  padding:.4rem 0; border-top:1px solid var(--line); text-decoration:none; color:inherit; }
.review-row:first-child { border-top:0; }
.review-row:hover, .review-row:focus-visible { color:var(--accent); }
.review-row b { font-size:.82rem; }
.review-vals { color:var(--muted); font-size:.87rem; }
.subnav-matches { display:block; margin:0 0 1.3rem; }
.modebtns { display:flex; gap:.4rem; margin-bottom:.6rem; }
.smallnote { background:var(--chip); border-radius:8px; padding:.5rem .7rem;
  font-size:.82rem; color:var(--fg); margin:.6rem 0 0; }
.fit-search { display:block; width:100%; margin:0 0 .6rem; }
.fit-dlg-done { display:block; width:100%; text-align:center; margin-top:.8rem; }

body[data-fitjs] [data-screen].fithidden { display:none; }
.results-head { display:flex; justify-content:space-between; align-items:flex-start;
  gap:1rem; margin:0 0 .8rem; flex-wrap:wrap; }
.results-count { color:var(--muted); font-size:.85rem; }
.fit-save { position:relative; }
.fit-save summary { list-style:none; cursor:pointer; }
.fit-save summary::-webkit-details-marker { display:none; }
.fit-save[open] summary { border-color:var(--accent); color:var(--accent); }
.fit-save-form { display:flex; flex-direction:column; gap:.5rem; width:22rem;
  max-width:80vw; margin-top:.5rem; padding:.7rem; border:1px solid var(--line);
  border-radius:10px; background:var(--card); position:absolute; right:0; z-index:5; }
.fit-save-form label { display:flex; flex-direction:column; gap:.2rem;
  font-size:.78rem; font-weight:600; color:var(--muted); }
.fit-save-form input, .fit-save-form textarea { font:inherit; }
.fit-save-links { border:0; padding:0; margin:0; display:flex; flex-direction:column; gap:.3rem; }
.fit-save-links legend { font-size:.78rem; font-weight:600; color:var(--muted); padding:0; }
.fit-save-links .submuted { margin:0; }
.fit-save-link { display:flex; gap:.3rem; }
.fit-save-link input { width:0; min-width:0; }
.fit-save-link input[type="url"] { flex:2 1 0; }
.fit-save-link input[type="text"] { flex:1 1 0; }
details.transparency summary { display:flex; align-items:center; gap:.4rem;
  font-size:.85rem; font-weight:600; color:var(--fg); cursor:pointer; }
details.transparency summary .ico { color:var(--accent); }
details.transparency ul { margin:.5rem 0 0; padding-left:1.2rem; color:var(--muted);
  font-size:.83rem; line-height:1.65; }

.resultcard .rc-top { display:flex; justify-content:space-between; gap:.8rem;
  flex-wrap:wrap; margin-bottom:.25rem; }
.rc-title { display:flex; align-items:baseline; gap:.55rem; flex-wrap:wrap; }
.rc-title h3 { font-size:1.08rem; margin:0; }
.fit { display:inline-flex; align-items:center; gap:.3rem; font-size:.74rem;
  font-weight:700; padding:.15rem .55rem; border-radius:999px; white-space:nowrap; }
.fit .ico { width:.85em; height:.85em; }
.fit-strong { color:var(--ok); background:color-mix(in srgb,var(--ok) 12%,transparent); }
.fit-worth_considering { color:var(--info); background:color-mix(in srgb,var(--info) 12%,transparent); }
.fit-needs_research { color:var(--muted); background:var(--chip); }
.reasons { list-style:none; margin:.2rem 0 .5rem; padding:0; display:grid; gap:.3rem; }
.reasons li { display:flex; gap:.5rem; font-size:.87rem; color:var(--fg); line-height:1.45; }
.reasons li .ico { flex:none; margin-top:.2rem; color:var(--ok); }
.reasons li.constraint .ico { color:var(--warn); }
.reasons li.talkfit .ico { color:var(--info); }
/* how central a saved talk's topic is (public._fit_grade_icon): filled bars
   carry the grade, the tooltip (fit-cards.js) the words */
.fitgrade { display:inline-flex; align-items:center; vertical-align:-.15em; margin-left:.25rem;
      padding:0; border:0; background:none; color:var(--info); cursor:help; line-height:1; }
.reasons li .fitgrade .ico { margin-top:0; color:inherit; width:1.05em; height:1.05em; }
.fitgrade .bar { fill:var(--line); }
.fitgrade-core .bar, .fitgrade-secondary .b1, .fitgrade-secondary .b2,
.fitgrade-supporting .b1 { fill:currentColor; }
.fitgrade:focus-visible { outline:2px solid var(--info); outline-offset:2px; border-radius:3px; }
.unsupported { font-size:.78rem; color:var(--muted); border-top:1px solid var(--line);
  margin-top:.6rem; padding-top:.6rem; }
.unsupported b { color:var(--fg); font-weight:600; }
.rc-actions { display:flex; gap:.9rem; align-items:center; flex-wrap:wrap; margin-top:.75rem; }
.rc-actions .hbtn.on { border-color:var(--accent); color:var(--accent); }
.rc-state { display:inline-flex; align-items:center; gap:.35rem; color:var(--ok); font-weight:600; font-size:.88rem; }
/* /fit Recommended: filter row and the "Show N more" disclosure (layout on
   the inner list, not the <details> itself — css.md) */
.fit-rec-filter { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; margin:.4rem 0 .9rem; }
.fit-rec-results[aria-busy="true"] { opacity:.6; }
.fit-more { margin-top:.6rem; }
.fit-more > summary { cursor:pointer; list-style:none; display:inline-flex; }
.fit-more > summary::-webkit-details-marker { display:none; }
.fit-more[open] > summary { display:none; }
.fit-rec-filter .pill:has(input:checked) { border-color:var(--accent); color:var(--accent); font-weight:600; }


@media (max-width:640px) {
  .fp-head .pagehead { flex-wrap:wrap; gap:.5rem; }
  .fp-also { grid-template-columns:minmax(0,1fr) auto; gap:.45rem .75rem; }
  .fp-also > .muted { grid-column:1; }
  .fp-also > .fp-admin { grid-column:2; grid-row:1 / span 2; align-self:center; }
  .person-profile-hero { grid-template-columns:5rem minmax(0,1fr); gap:1rem; padding:1rem; }
  .person-profile-avatar { width:5rem; height:5rem; }
  .person-profile-monogram { font-size:1.7rem; }
}

/* OTE feed + supporter badges in the public footer (templates/public/page.html) */
footer.foot .ote-badges { display:inline-flex; flex-wrap:wrap; gap:.4rem; align-items:center;
  vertical-align:middle; margin-left:.6rem; }
footer.foot .ote-badges img { display:block; }
/* OTE data links on conference / edition pages (public.py _ote_links) */
.ote-links { font-size:.85rem; margin:.6rem 0 0; }

/* cancelled / postponed / rescheduled chip next to an edition's name */
.schedchip { font-size:.72rem; font-weight:600; vertical-align:middle; }
