/* Kit v3 Place and Lens band (placelens.js). Kit v3 tokens only; every rule prefixed .pl- (owner, 2026-11-06:
   additive only). The active lens carries the pastel underline; red marks only the selection. */
.pl-band { position: relative; z-index: 1; display: grid; gap: 22px; padding-block: 36px 28px; padding-inline: 96px 88px; background: var(--bg); color: var(--ink); min-width: 0; }
.pl-hint { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); }
.pl-hint[hidden] { display: none; }
.pl-hint ol { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pl-hint li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 10px; align-items: center; }
.pl-hint li b { grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: var(--r-dot); border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 11px/1 var(--m); }
.pl-hint li span { font-weight: 600; }
.pl-hint li small { color: var(--ink-3); font-size: 12px; }
.pl-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pl-crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.pl-crumbs li + li::before { content: "/"; color: var(--ink-3); margin-inline-end: 4px; }
.pl-crumbs a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-size: 12.5px; }
.pl-crumbs a .fl { width: 18px; height: 12px; }
.pl-crumbs a:hover { background: var(--bg-2); color: var(--ink); }
.pl-crumbs a[aria-current] { color: var(--ink); font-weight: 600; }
.pl-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: start; }
.pl-main--solo { grid-template-columns: minmax(0, 1fr); }
.pl-pane { min-width: 0; }
.pl-title { display: flex; align-items: center; gap: 14px; margin: 10px 0 0; font: 600 40px/1.05 var(--f); letter-spacing: -.02em; }
.pl-title .fl { width: 42px; height: 28px; }
.pl-say { margin: 10px 0 0; font-size: 16px; color: var(--ink-2); }
.pl-pane .sec-figs { margin-block-start: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pl-pick { display: block; margin-block-start: 14px; }
.pl-pick select { height: 34px; max-width: 100%; padding-inline: 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); color: var(--ink); }
.pl-stage { min-width: 0; }
.pl-stage .sec-mini { margin: 0; }
.pl-stage__f { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-block-start: 8px; color: var(--ink-3); font-size: 12px; }
.pl-map { position: relative; height: 360px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pl-dock { display: grid; gap: 8px; min-width: 0; border-block-end: 1px solid var(--line); }
.pl-lenses { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pl-lenses::-webkit-scrollbar { display: none; }
.pl-lens { flex: none; height: 38px; padding-inline: 12px; border: 0; border-radius: var(--r) var(--r) 0 0; background: transparent no-repeat 0 100% / 100% 0; color: var(--ink-2); font-weight: 500; }
.pl-lens:hover { color: var(--ink); background-color: var(--bg-2); }
.pl-lens[aria-selected="true"] { color: var(--ink); background-image: var(--pastel); background-size: 100% 2px; }
.pl-lensline { margin: 0 0 10px; color: var(--ink-3); font-size: 12.5px; }
/* rail labels show on keyboard focus as on hover (owner, 2026-11-06: intuitiveness); added only where the band is on */
html.pl-on .rail a:focus-visible .tip { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .pl-band { padding-inline: 16px; padding-block: 28px 20px; }
  .pl-hint { align-items: flex-start; }
  .pl-hint ol { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pl-main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pl-title { font-size: 30px; }
  .pl-map { height: 280px; }
}
.pl-tag { margin: 12px 0 0; font: 500 20px/1.3 var(--f); color: var(--ink); max-width: 36ch; }
/* revision 2: the dock reads "Show", in plain words */
.pl-dock__h { font: 500 11px/1 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-block-end: 4px; }
.pl-lens { min-height: 40px; font-size: 14px; }
/* the Peoples and Lenses stage (stage 'globe', Home; owner 2026-11-06: never a text hero). The globe fills the first
   screen under the header; the pane and the lens bar float over it. Phone: the stage first, the pane a bottom sheet. */
.pl-band--stage { display: block; position: relative; height: 100vh; height: 100svh; min-height: 560px; padding: 0; overflow: hidden; background: var(--bg); }
.pl-band--stage .pl-stage--full { position: absolute; inset: 0; }
.pl-band--stage .pl-map { position: absolute; inset: 0; height: auto; border: 0; border-radius: 0; }
.pl-float { position: absolute; z-index: 2; inset-block-start: calc(var(--top) + 14px); inset-inline-start: 96px; width: min(360px, calc(100% - 200px)); display: grid; gap: 8px; max-height: calc(100% - var(--top) - 110px); min-height: 0; }
.pl-band--stage .pl-pane { min-height: 0; overflow: auto; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: var(--r); scrollbar-width: thin; }
.pl-eye { margin: 0; font: 500 11px/1.3 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.pl-band--stage > .pl-eye { position: absolute; inset-block-start: calc(var(--top) + 14px); inset-inline-start: 96px; }
.pl-place { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 8px 0 0; font-size: 15px; }
.pl-place .fl { width: 22px; height: 15px; }
.pl-place span { color: var(--ink-3); font-size: 12.5px; }
.pl-ppl { margin-block-start: 12px; border-block-start: 1px solid var(--line); padding-block-start: 10px; }
.pl-ppl__h { font: 500 11px/1 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.pl-ppl .sec-figs { margin-block-start: 8px; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pl-ppl__l { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.pl-ppl__l li { display: grid; gap: 2px; }
.pl-ppl__r { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 6px; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); text-align: start; }
.pl-ppl__r:hover { background: var(--bg-2); }
.pl-ppl__r .fl { width: 20px; height: 14px; }
.pl-ppl__n { flex: 1; min-width: 0; font-weight: 500; }
.pl-ppl__l small { padding-inline-start: 34px; color: var(--ink-3); font-size: 11.5px; }
.pl-band--stage .sec-acts { margin-block-start: 12px; }
.pl-band--stage .pl-pick { margin-block-start: 10px; }
.pl-band--stage .pl-crumbs:empty, .pl-band--stage .pl-crumbs ol:only-child li:only-child { display: none; }
.pl-hint--line { padding: 4px 6px 4px 12px; gap: 8px; font-size: 12.5px; color: var(--ink-2); background: var(--bg-1); }
.pl-hint--line span { flex: 1; min-width: 0; }
.pl-hint--line .btn--icon { width: 24px; height: 24px; }
.pl-band--stage .pl-dock { position: absolute; z-index: 2; inset-block-end: 18px; inset-inline: 96px 88px; gap: 0; padding: 4px 6px 0; border: 1px solid var(--line); border-radius: var(--r); }
.pl-band--stage .pl-lensline { margin: 0 0 6px; padding-inline: 6px; }
@media (max-width: 760px) {
  .pl-band--stage { display: flex; flex-direction: column; height: auto; min-height: 0; overflow: visible; padding: 0; }
  .pl-band--stage .pl-stage--full { order: 0; position: relative; inset: auto; height: 60svh; flex: none; }
  .pl-band--stage .pl-dock { order: 1; position: relative; z-index: 3; inset: auto; margin: 8px 12px 0; padding: 2px 4px; }
  .pl-float { order: 2; position: relative; inset: auto; width: auto; max-height: none; margin: 8px 0 0; padding: 0 12px 12px; }
  .pl-band--stage .pl-pane { border-radius: 12px 12px var(--r) var(--r); box-shadow: 0 -8px 24px rgba(0, 0, 0, .12); }
  .pl-band--stage .pl-pane::before { content: ""; display: block; width: 36px; height: 4px; margin: -4px auto 10px; border-radius: 2px; background: var(--line-2); }
  .pl-band--stage .pl-lensline { display: none; }
}
