.card.worked-example {
  box-sizing: border-box;
  width: 350px;
  max-width: calc(100% - 20px);
  padding: 11px 12px;
  background: #fffefb;
}
.worked-example .worked-title {
  margin: 1px 36px 8px 0;
  font: 650 16px/1.25 var(--display, sans-serif);
}
.worked-example .worked-drawing {
  display: block;
  width: 100%;
  height: auto;
  background: #fafbf7;
  border: 1px solid #d9dfd5;
  border-radius: 8px;
  box-sizing: border-box;
}
.worked-example .worked-beat {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 1px;
  min-height: 2.5em;
  color: #293d33;
  font: 550 14px/1.35 var(--body, sans-serif);
}
.worked-example .worked-count {
  white-space: nowrap;
  color: #536758;
  font: 550 12px/1.3 var(--mono, monospace);
}
.worked-example .worked-controls {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.worked-example .worked-controls button,
.worked-links button {
  border: 1px solid #c5d0c3;
  border-radius: 8px;
  background: #f7f9f4;
  color: #294b3e;
  cursor: pointer;
  font: 600 14px/1.2 var(--body, sans-serif);
}
.worked-example .worked-controls button {
  min-height: 36px;
  min-width: 42px;
}
.worked-example .worked-controls button[data-worked="play"] {
  min-width: 98px;
  background: #345749;
  color: #fff;
  border-color: #345749;
}
.worked-example .worked-controls button:disabled {
  opacity: .42;
  cursor: default;
}
.worked-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}
.worked-links:empty { display: none; }
.worked-links button {
  padding: 8px 11px;
  text-align: left;
}
.worked-cue {
  position: absolute;
  transform: translate(-50%,-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: 1.5px solid #426754;
  border-radius: 9px;
  background: #fffefb;
  color: #264e3c;
  font: 650 13px/1 var(--body,sans-serif);
  cursor: pointer;
  box-shadow: 0 1px 3px #34493c29;
}
.worked-cue:empty::before { content: '▶'; }
.worked-cue:focus-visible,
.worked-links button:focus-visible,
.worked-example button:focus-visible {
  outline: 3px solid #2f7267;
  outline-offset: 2px;
}
.stage.measuring .worked-cue { visibility: hidden; }
@media (pointer: coarse) {
  .worked-example .worked-controls button,
  .worked-links button { min-height: 42px; }
}
