/* One English name per callout. The renderer sets each plate's measured size. */
.atlas-tags .atlas-tag{
  grid-template-columns:24px minmax(0,1fr);grid-template-rows:1fr;
  align-content:stretch;column-gap:7px;padding:4px 6px;
}
.atlas-tags .atlas-tag-code{grid-row:1;letter-spacing:-.03em}
.atlas-tags .atlas-tag-name{
  align-self:center;font-size:12px;font-weight:650;line-height:1.08;
  letter-spacing:-.015em;white-space:normal;text-wrap:balance;
}
.atlas-tags.atlas-small .atlas-tag{grid-template-columns:18px minmax(0,1fr);column-gap:4px;padding:3px 4px}
.atlas-tags.atlas-small .atlas-tag-name{font-size:11px;line-height:1.05}

.part-note{
  position:absolute;top:0;left:0;z-index:2;pointer-events:auto;
  width:var(--note-width);box-sizing:border-box;margin:0;
  padding:55px 17px 12px;border:1px solid var(--stroke);border-radius:2px;
  background:var(--paper);color:var(--ink);
  font:400 14px/1.47 var(--body,sans-serif);text-align:left;
}
.part-note::before{
  content:"";position:absolute;top:-1px;left:12px;width:39px;height:3px;background:var(--tag-ink)
}
.part-note .note-mobile-heading{display:none}
.part-note .note-close{
  position:absolute;top:8px;right:7px;display:grid;place-items:center;width:33px;height:33px;
  padding:0;border:0;border-radius:3px;background:transparent;color:var(--muted);
  font:400 23px/1 var(--body,sans-serif);cursor:pointer;touch-action:manipulation
}
.part-note .note-close:hover,.part-note .note-close:focus-visible{background:var(--surface);color:var(--ink)}
.part-note .note-close:focus-visible,.part-note .note-source:focus-visible{
  outline:2px solid var(--ink);outline-offset:1px
}
.part-note .note-body,.part-note .note-observation{margin:0}
.part-note .note-body{padding-top:9px;border-top:1px solid var(--line)}
.part-note .note-observation{margin-top:11px;color:var(--muted);font-size:13px}
.part-note .note-look-label{
  display:block;margin-bottom:2px;color:var(--muted);font:650 10px/1.2 var(--mono,monospace);
  letter-spacing:.065em;text-transform:uppercase
}
.part-note .note-footer{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:12px}
.part-note .note-source,.part-note .note-status{color:var(--muted);font:500 11px/1.3 var(--body,sans-serif)}
.part-note .note-source{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:2px}
.part-note .note-source::after{content:" ↗";font-size:11px}
.part-note .note-status{font-style:italic}

/* On wide stages the actual clicked button becomes the card title. Keeping it
   in place in the DOM also preserves keyboard focus while the 3D camera moves. */
.atlas-tags .atlas-tag.note-heading-tag{
  z-index:3;grid-template-columns:28px minmax(0,1fr);gap:8px;width:var(--note-title-width);height:38px;
  border:0;background:transparent;box-shadow:none;color:var(--ink);text-align:left
}
.atlas-tags .atlas-tag.note-heading-tag::before{display:none}
.atlas-tags .atlas-tag.note-heading-tag .atlas-tag-code{
  align-self:center;height:21px;border-right:1px solid var(--line);color:var(--muted)
}
.atlas-tags .atlas-tag.note-heading-tag .atlas-tag-name{
  font:normal 22px/1.03 var(--display,Georgia,serif);letter-spacing:-.035em;text-wrap:wrap
}
.atlas-tags .atlas-tag.note-heading-tag:focus-visible{
  outline:2px solid var(--ink);outline-offset:-1px
}
.part-note.is-docked{
  position:relative;z-index:auto;width:100%;margin:7px 0 0;
  padding:11px 14px 12px;transform:none!important;box-shadow:none
}
.part-note.is-docked .note-mobile-heading{
  display:flex;align-items:center;gap:9px;margin:0 32px 9px 0;
  font:normal 22px/1.07 var(--display,Georgia,serif);letter-spacing:-.03em
}
.part-note .note-code{
  padding-right:8px;border-right:1px solid var(--line);color:var(--muted);
  font:650 10px/1.4 var(--mono,monospace);letter-spacing:0
}
