/*
 * The engraving fallback, shared by every page that draws a stave — it is a
 * static file rather than a clause repeated in five inline <style> blocks.
 *
 * `client/score.ts` puts these three elements into the score container when
 * the engraver chunk does not arrive: a notice, an optional retry button and
 * the ABC tokens themselves. The tokens are what the page used to show on its
 * own, silently; they are kept because they are still readable, but they are
 * no longer the whole message.
 */
.engraver-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px dashed #c89228;
  background: #fdf6e7;
  color: #6b4a0d;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
}
.engraver-retry {
  font: inherit;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  cursor: pointer;
  border: 1px solid #c89228;
  background: #fff;
  color: #6b4a0d;
}
.engraver-retry:hover:not(:disabled) { background: #f7ecd2; }
.engraver-retry:disabled { cursor: progress; opacity: 0.6; }
.engraver-tokens {
  margin: 0;
  padding: 14px 18px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  background: #18191c;
  color: #f1f5f9;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
}
