



.ascat-flags:empty { display: none; }

.ascat-flag {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.pb-ascat[hidden] { display: none; }





#timeline .tl-legend.tl-legend-card { height: auto; padding: 0 calc(8px + var(--sar)) 8px calc(14px + var(--sal)); }
.ascat-legend { display: flex; flex-direction: column; gap: 4px; }
.ascat-legend .al-title { font-size: 12px; font-weight: 600; color: var(--body-text); }
.ascat-legend .al-scale { position: relative; height: 26px; }
.ascat-legend .al-bar { position: absolute; left: 0; right: 50px; top: 0; height: 8px; }
.ascat-legend .al-ticks { position: absolute; left: 0; right: 50px; top: 9px; height: 15px; }
.ascat-legend .al-ticks span { position: absolute; transform: translateX(-50%); font-size: 11px; white-space: nowrap; }

.ascat-legend .al-ticks.al-vs span:first-child { transform: none; }
.ascat-legend .al-unit { position: absolute; right: 0; top: 7px; font-size: 11px; }
.ascat-legend .al-ends { display: flex; justify-content: space-between; margin: -6px 50px 0 0; font-size: 11px; }
.ascat-legend .al-ends[hidden] { display: none; }
.ascat-legend .al-words, .ascat-legend .al-grey { margin: 0; font-size: 12px; line-height: 1.35; color: var(--body-text); }
.ascat-legend .al-grey[hidden] { display: none; }
.ascat-legend .al-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 2px; }
.ascat-legend .al-switch, .ascat-legend .al-chips { display: flex; border: 1px solid var(--border); border-radius: var(--pill); padding: 2px; }
.ascat-legend .al-seg, .ascat-legend .al-chip {
  min-height: 28px;
  padding: 3px 12px;
  border: none;
  border-radius: var(--pill);
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.ascat-legend .al-chip { padding: 3px 10px; }
.ascat-legend [aria-pressed="true"] { background-color: var(--accent); color: var(--bg); }
.ascat-legend button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ascat-legend .al-dim { margin: 0; font-size: 11px; line-height: 1.35; color: var(--muted); }
