/* Beat Recipe: a usable musician's worksheet, not a decorative notebook. */
@media screen {
  #beat-recipe-page .br-playhead-banner {
    position: static;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 52px;
    padding: 9px 12px;
    border: 2px solid #655748;
    border-radius: 4px;
    background: #182320;
    color: #e0c6a2;
    font: 800 11px/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .04em;
    box-shadow: 0 3px 10px #0005;
  }
  #beat-recipe-page .br-top-transport {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 2px solid #171716;
    border-radius: 6px;
    background: #111a19;
    color: #e6d5b9;
    box-shadow: 2px 3px 0 #564e402c;
    font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  #beat-recipe-page .br-top-transport button {
    border: 1px solid #f0ad55;
    border-radius: 4px;
    background: #f5ae46;
    color: #211916;
    padding: 9px 14px;
    font: inherit;
    cursor: pointer;
  }
  #beat-recipe-page .br-top-transport button:focus-visible,
  #beat-recipe-page .br-top-transport input:focus-visible {
    outline: 3px solid #ffcc7a;
    outline-offset: 2px;
  }
  #beat-recipe-page .br-top-transport button[aria-pressed="true"] {
    border-color: #f5a292;
    background: #bd4436;
    color: #fff9ee;
    box-shadow: 0 0 10px #da5c37a0;
  }
  #beat-recipe-page .br-top-transport .br-top-transport-stop {
    min-height: 44px;
    border-color: #a85855;
    background: #442526;
    color: #ffe0dc;
  }
  #beat-recipe-page .br-top-transport input[type="number"] {
    width: 48px;
    padding: 5px 3px;
    border: 1px solid #95745e;
    border-radius: 3px;
    background: #251f1b;
    color: #ffc775;
    text-align: center;
    font: inherit;
  }
  #beat-recipe-page .br-top-transport input[type="range"] { width: 110px; accent-color: #f5ae46; }
  #beat-recipe-page .br-top-transport .br-top-transport-tempo,
  #beat-recipe-page .br-top-transport .br-top-transport-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  #beat-recipe-page .br-playhead-banner-active {
    border-color: #c5663f;
    background: #3b241d;
    color: #ffcc79;
    box-shadow: 0 0 0 2px #f2a25170, 0 5px 18px #8f382866;
  }
  #beat-recipe-page .br-playhead-status {
    min-width: 180px;
    font-size: 12px;
    color: #ffe0a9;
  }
  #beat-recipe-page .br-playhead-steps {
    display: grid;
    grid-template-columns: repeat(16, 12px);
    gap: 4px;
    align-items: center;
    padding: 5px 7px;
    border: 1px solid #9f7654;
    border-radius: 4px;
    background: #101b19;
  }
  #beat-recipe-page .br-playhead-led {
    width: 12px;
    height: 18px;
    border: 1px solid #856553;
    border-radius: 2px;
    background: #38443b;
  }
  #beat-recipe-page .br-playhead-led:nth-child(4n + 1) {
    border-left: 2px solid #f0ac65;
  }
  #beat-recipe-page .br-playhead-led.br-playhead-led-active {
    background: #ff9c30;
    border-color: #fff0c3;
    box-shadow: 0 0 0 2px #ffbb58, 0 0 13px #ff872c;
    transform: scale(1.18);
  }
  #beat-recipe-page .br-playhead-banner::after {
    content: none;
  }
  #beat-recipe-page .br-playhead-banner-active::after {
    content: none;
  }
  @keyframes br-playhead-strip-blink {
    0%, 49% { filter: brightness(1.45); }
    50%, 100% { filter: brightness(.82); }
  }
  #beat-recipe-page .br-playhead-lamp {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #75685b;
  }
  #beat-recipe-page .br-playhead-banner-active .br-playhead-lamp {
    background: #ff6c4d;
    box-shadow: 0 0 10px #ff6c4d;
    animation: br-bar-running-light 1.2s steps(1, end) infinite;
  }
  #beat-recipe-page .br-playhead-banks { margin-left: auto; color: #f8b46e; }
  #beat-recipe-page {
    background-color: #f1ecde !important;
    background-image:
      linear-gradient(90deg, transparent 0, transparent 3.35%, #a84b443b 3.42%, transparent 3.5%),
      repeating-linear-gradient(0deg, transparent 0, transparent 31px, #314a4720 32px),
      radial-gradient(circle at 15% 12%, #fffdf3 0, #f1ecde 58%, #e5dcc9 100%) !important;
    color: #263431 !important;
    border: 1px solid #9b9381 !important;
    border-radius: 7px !important;
    box-shadow: inset 0 0 0 8px #fff9e75e, 0 20px 55px #0007 !important;
  }
  #beat-recipe-page .br-bank-row {
    border: 1px solid #b7ae9a !important;
    border-left: 5px solid #9a534a !important;
    border-radius: 3px !important;
    background: linear-gradient(160deg, #fbf7e9 0%, #f3eddd 100%) !important;
    box-shadow: 2px 3px 0 #6d655027 !important;
  }
  #beat-recipe-page .br-bank-row.br-bank-row-playing {
    border-left-color: #ff8b37 !important;
    box-shadow: 0 0 0 3px #f3a24d8c, 0 0 22px #e1693870 !important;
  }
  #beat-recipe-page .br-bank-row > [class*="md:col-span-1"] {
    border-bottom: 1px solid #9d9c8d !important;
  }
  #beat-recipe-page .br-bank-row > [class*="md:col-span-1"] span:first-child {
    color: #20332f !important;
    letter-spacing: .055em !important;
  }
  #beat-recipe-page .br-bank-row > [class*="md:col-span-1"] span:last-child {
    color: #746b5b !important;
  }
  #beat-recipe-page .br-bar-card {
    border: 1px solid #9e9a8a !important;
    border-top: 3px solid #3a504c !important;
    border-radius: 2px !important;
    background-color: #fffcf1 !important;
    background-image: repeating-linear-gradient(0deg, transparent 0, transparent 25px, #49605a12 26px) !important;
    color: #22312f !important;
    box-shadow: 2px 3px 0 #564e402c !important;
  }
  #beat-recipe-page .br-bar-card.br-bar-playing {
    border: 3px solid #e16737 !important;
    background-color: #ffe3a9 !important;
    background-image: none !important;
    box-shadow: 0 0 0 3px #f1b563, 0 0 24px #dd6435a8 !important;
    animation: br-card-running-light 1.2s steps(1, end) infinite;
  }
  @keyframes br-card-running-light {
    0%, 49% { filter: brightness(1.12); outline: 4px solid #f0a653; }
    50%, 100% { filter: brightness(.94); outline: 4px solid #9c513a; }
  }
  #beat-recipe-page .br-bar-card > div:first-child {
    border-bottom: 1px solid #a9a89b !important;
  }
  #beat-recipe-page .br-bar-card > div:first-child span {
    color: #7e3d35 !important;
  }
  #beat-recipe-page .br-bar-card > div:last-child {
    border-top-color: #aba797 !important;
  }
  #beat-recipe-page .br-bar-card[class*="ring-cyan-400"] {
    outline: 2px solid #a2584b !important;
    outline-offset: 2px;
  }
  #beat-recipe-page .br-recipe-lane {
    --lane-accent: #9a534a;
    border: 1px solid #c6c0af !important;
    border-left: 3px solid var(--lane-accent) !important;
    border-radius: 2px !important;
    background: #f8f4e9 !important;
    box-shadow: none !important;
  }
  #beat-recipe-page .br-recipe-lane[data-recipe-lane="kick"] { --lane-accent: #a35b3e; }
  #beat-recipe-page .br-recipe-lane[data-recipe-lane="snare"] { --lane-accent: #685b75; }
  #beat-recipe-page .br-recipe-lane[data-recipe-lane="clap"] { --lane-accent: #9b5a53; }
  #beat-recipe-page .br-recipe-lane[data-recipe-lane="hihat"] { --lane-accent: #547b73; }
  #beat-recipe-page .br-lane-name { color: var(--lane-accent) !important; }
  #beat-recipe-page .br-lane-select,
  #beat-recipe-page span.br-lane-select,
  #beat-recipe-page .br-pad-symbol-select {
    background: #fffdf3 !important;
    color: #263431 !important;
    border-color: #a9a391 !important;
    border-radius: 2px !important;
  }
  #beat-recipe-page .br-pad-symbol-select[data-active="true"] {
    background: #e6d3a9 !important;
    color: #60352e !important;
    box-shadow: none !important;
  }
  #beat-recipe-page .br-bank-summary { color: #6a4739 !important; }
  #beat-recipe-page .br-bank-summary button {
    background: #efe1c3 !important;
    color: #55382d !important;
    border-color: #9c7a59 !important;
  }
  #beat-recipe-page .br-empty-bar {
    color: #71695a !important;
    border-color: #a8a08c !important;
    background: #faf7ed !important;
  }
  #beat-recipe-page .br-lane-steps > button {
    background: #fffdf5 !important;
    border-color: #a9b0a7 !important;
    border-radius: 2px !important;
    box-shadow: inset 0 0 0 1px #fff, 1px 1px 0 #615d4e25 !important;
  }
  #beat-recipe-page .br-lane-steps > button:nth-child(4n + 1) {
    border-left: 2px solid #9b4b3e !important;
  }
  #beat-recipe-page .br-lane-steps > button::after { color: #4c5b57 !important; }
  #beat-recipe-page .br-lane-steps > button[aria-pressed="true"] {
    background: #9a534a !important;
    border-color: #773b34 !important;
    box-shadow: inset 0 0 0 1px #cf9b8f !important;
  }
  #beat-recipe-page .br-lane-steps > button[aria-pressed="true"]::after { color: #fff8eb !important; }
  #beat-recipe-page .br-lane-steps > button[class*="bg-red-500"] {
    background: #c46b59 !important;
    border-color: #a94d43 !important;
  }
  #beat-recipe-page .br-lane-steps > button[class*="bg-red-500"]::after { color: #fff !important; }
  #beat-recipe-page .br-lane-steps > button.br-step-playhead {
    background: #d95845 !important;
    border-color: #ffbd92 !important;
    box-shadow: 0 0 0 2px #e99a61, 0 0 12px #d9584599 !important;
    transform: scale(1.08);
  }
  #beat-recipe-page .br-lane-steps > button.br-step-playhead::after { color: #fff !important; }
  #beat-recipe-page .br-lane-steps > button.br-step-triggered {
    background: #ff9900 !important;
    border-color: #fff0bc !important;
    box-shadow: 0 0 0 2px #ffbb39, 0 0 16px #ff6b21 !important;
    animation: br-playhead-strip-blink .24s steps(1, end) infinite;
  }
  #beat-recipe-page .br-bar-card > div:first-child .br-bar-label-playing {
    display: inline-block;
    padding: 6px 9px;
    margin: -6px -9px;
    border: 2px solid #a6533d;
    background: #f8bb65;
    color: #44251d !important;
    box-shadow: 0 0 12px #df724e80;
    animation: br-bar-running-light 1.2s steps(1, end) infinite;
  }
  @keyframes br-bar-running-light {
    0%, 49% { background: #f8bb65; color: #44251d; box-shadow: 0 0 12px #df724e80; }
    50%, 100% { background: #d3b696; color: #44251d; box-shadow: inset 0 1px 3px #74523e; }
  }
  @media (prefers-reduced-motion: reduce) {
    #beat-recipe-page .br-bar-card.br-bar-playing,
    #beat-recipe-page .br-playhead-banner-active .br-playhead-lamp,
    #beat-recipe-page .br-bar-card > div:first-child .br-bar-label-playing,
    #beat-recipe-page .br-lane-steps > button.br-step-triggered,
    #beat-recipe-page .br-playhead-banner-active::after { animation: none; }
  }
}

@media print {
  body.br-grid-printing .br-grid-print-sheet {
    background: #f9f6ed !important;
    color: #263431 !important;
  }
  .br-grid-print-header {
    background: #f9f6ed !important;
    color: #263431 !important;
    border-top: 3px double #435852 !important;
    border-bottom: 2px solid #435852 !important;
    border-left: 3px solid #a2584b !important;
    padding: 11px 15px !important;
  }
  .br-grid-print-header small { color: #854d43 !important; }
  .br-grid-print-header p { color: #4d5c56 !important; }
  .br-grid-print-section h2 {
    background: #e9e1cd !important;
    border-color: #b4ad9a !important;
    border-left-color: #a2584b !important;
    color: #273a35 !important;
  }
  .br-grid-print-map-row strong {
    background: #eee7d7 !important;
    color: #273a35 !important;
  }
  .br-grid-print-map-row span { background: #fcfaf3 !important; }
  .br-grid-print-map-row span.is-active { background: #ead1a9 !important; }
  .br-grid-print-bar { border-radius: 1px !important; border-color: #aeb0a0 !important; }
  .br-grid-print-bar-head {
    background: #e8e0ce !important;
    color: #273a35 !important;
    border-left: 3px solid #a2584b !important;
  }
  .br-grid-print-bar-head span { color: #815043 !important; }
  .br-grid-print-steps { background: #fcfaf3 !important; }
  .br-grid-print-steps > b { font-size: 6.5pt !important; }
  .br-grid-print-steps .br-grid-print-label { font-size: 7pt !important; }
  .br-grid-print-steps > span:not(.br-grid-print-label):not(.br-grid-print-empty) {
    height: 17px !important;
    line-height: 15px !important;
  }
  .br-grid-print-steps > span.is-hit { background: #9a534a !important; border-color: #793d36 !important; }
  .br-grid-print-note { background: #f2ead8 !important; }
  .br-grid-print-instruction { background: #f4ead5 !important; border-color: #b5a27f !important; }
}

#beat-recipe-page .br-bar-symbol-key {
  padding: 16px 20px;
  border: 1px solid #aa9b82;
  border-left: 5px solid #9a534a;
  border-radius: 3px;
  background: #faf5e8;
  color: #273631;
  box-shadow: 2px 3px 0 #6d655027;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
#beat-recipe-page .br-bar-symbol-key__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #b9ac94;
}
#beat-recipe-page .br-bar-symbol-key h3 {
  margin: 0;
  color: #83453d;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .1em;
}
#beat-recipe-page .br-bar-symbol-key__heading p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
#beat-recipe-page .br-bar-symbol-key__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding-top: 12px;
}
#beat-recipe-page .br-bar-symbol-key__group h4 {
  margin: 0 0 5px;
  color: #826042;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
#beat-recipe-page .br-bar-symbol-key__item {
  display: grid;
  grid-template-columns: 38px 42px minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  padding: 5px 0;
  border-top: 1px solid #d9d0bc;
  font-size: 11px;
  line-height: 1.3;
}
#beat-recipe-page .br-bar-symbol-key__item b {
  color: #985047;
  font-size: 15px;
  text-align: center;
}
#beat-recipe-page .br-bar-symbol-key__item strong { color: #21332e; }
#beat-recipe-page .br-bar-symbol-key__item span { color: #594f43; }
@media (max-width: 720px) {
  #beat-recipe-page .br-bar-symbol-key { padding: 13px; }
  #beat-recipe-page .br-bar-symbol-key__columns { grid-template-columns: 1fr; }
}

/* The song is written down the page like a ruled studio notebook: one bar per line. */
@media screen {
  #beat-recipe-page {
    background-color: #f8f3e6 !important;
    background-image:
      linear-gradient(90deg, transparent 0, transparent 4.1%, #bd73679c 4.16%, #bd73679c 4.25%, transparent 4.31%),
      repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #78938d3d 32px, transparent 33px),
      linear-gradient(110deg, #fffdf5 0%, #f5eedf 100%) !important;
  }
  #beat-recipe-page .br-bank-row {
    padding: 18px 22px 22px !important;
    border: 1px solid #b7aa91 !important;
    border-left: 5px solid #a04e43 !important;
    background: #fffaf0e6 !important;
    box-shadow: 3px 4px 0 #5a544023 !important;
  }
  #beat-recipe-page .br-bank-row > [class*="md:col-span-1"] {
    padding: 1px 2px 11px !important;
    margin-bottom: 2px;
    border-bottom: 2px solid #314b47 !important;
  }
  #beat-recipe-page .br-bank-row > [class*="md:col-span-1"] span:first-child {
    font-size: clamp(16px, 1.6vw, 23px) !important;
    letter-spacing: .065em !important;
  }
  #beat-recipe-page .br-pass-bars {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    color: #654734;
    font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  #beat-recipe-page .br-pass-bars select {
    min-width: 112px;
    min-height: 36px;
    padding: 5px 9px;
    border: 1px solid #9c7a59;
    border-radius: 4px;
    background: #efe1c3;
    color: #473428;
    font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    cursor: pointer;
  }
  #beat-recipe-page .br-pass-bars select:focus-visible {
    outline: 2px solid #a04e43;
    outline-offset: 2px;
  }
  #beat-recipe-page .br-bank-bars {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }
  #beat-recipe-page .br-bar-card {
    min-width: 0;
    padding: 10px 12px !important;
    border: 1px solid #b5b4a7 !important;
    border-left: 4px solid #3d5a55 !important;
    border-top: 1px solid #b5b4a7 !important;
    background-color: #fffdf5 !important;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #78938d24 32px, transparent 33px) !important;
    box-shadow: 2px 2px 0 #716b5a24 !important;
  }
  #beat-recipe-page .br-bar-card.br-bar-playing {
    background-color: #fff0ce !important;
    border-color: #d87344 !important;
    box-shadow: 0 0 0 2px #f1b563, 0 0 20px #dd643577 !important;
  }
  #beat-recipe-page .br-bar-card > div:first-child {
    min-height: 38px;
    border-bottom: 1px solid #b3b2a4 !important;
  }
  #beat-recipe-page .br-recipe-lane {
    display: grid !important;
    grid-template-columns: 176px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 4px 6px !important;
    overflow-x: visible;
    border: 1px solid #c8c5b5 !important;
    border-left: 4px solid #9a534a !important;
    background: #fffdf7d9 !important;
  }
  #beat-recipe-page .br-lane-control {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 2px 5px;
    align-items: center;
    min-width: 0;
  }
  #beat-recipe-page .br-lane-name {
    grid-row: span 2;
    min-width: 0;
    font-size: 10px !important;
    letter-spacing: .025em !important;
  }
  #beat-recipe-page .br-lane-select,
  #beat-recipe-page .br-pad-symbol-select {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 25px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
  }
  #beat-recipe-page .br-pad-symbol-select { grid-column: 2; }
  #beat-recipe-page .br-lane-steps {
    display: grid !important;
    grid-template-columns: repeat(var(--br-steps-per-bar, 16), minmax(0, 1fr)) !important;
    width: 100%;
    min-width: 0;
    gap: 2px !important;
  }
  #beat-recipe-page .br-lane-steps > button {
    height: 31px !important;
    min-height: 31px !important;
    border-radius: 2px !important;
  }
  #beat-recipe-page .br-bar-symbol-key {
    background-color: #fffaf0;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #78938d27 32px, transparent 33px);
  }
}
@media screen and (max-width: 820px) {
  #beat-recipe-page .br-recipe-lane { grid-template-columns: minmax(0, 1fr); }
  #beat-recipe-page .br-lane-control { grid-template-columns: 88px minmax(0, 1fr) minmax(110px, 180px); }
  #beat-recipe-page .br-lane-name { grid-row: auto; }
  #beat-recipe-page .br-pad-symbol-select { grid-column: auto; }
}
@media screen and (max-width: 700px) {
  #beat-recipe-page .br-bank-row { padding: 12px 9px 15px !important; }
  #beat-recipe-page .br-pass-bars { margin-left: 0; width: 100%; justify-content: space-between; }
  #beat-recipe-page .br-bar-card { padding: 10px !important; }
  #beat-recipe-page .br-recipe-lane { padding: 6px !important; overflow-x: auto; }
  #beat-recipe-page .br-lane-control { grid-template-columns: 72px minmax(0, 1fr); }
  #beat-recipe-page .br-pad-symbol-select { grid-column: 2; }
  #beat-recipe-page .br-lane-steps { min-width: 480px; }
}

/* The written bar uses the same key-and-step shorthand as Recorded Bank Overview. */
@media screen {
  #beat-recipe-page .br-sheet-overview {
    display: grid;
    grid-template-columns: minmax(100px, 150px) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 8px 0;
    padding: 8px;
    border: 1px solid #685039;
    border-radius: 6px;
    background: #111615;
  }
  #beat-recipe-page .br-sheet-overview__label {
    color: #e8ae63;
    font: 800 10px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .03em;
  }
  #beat-recipe-page .br-sheet-overview__steps {
    display: grid;
    grid-template-columns: repeat(16, minmax(0, 1fr));
    gap: 3px;
    min-width: 0;
  }
  #beat-recipe-page .br-sheet-overview__slot {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 0;
  }
  #beat-recipe-page .br-sheet-overview__step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 21px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #594a39;
    border-radius: 2px;
    background: #0b0e0d;
    color: #ffd46f;
    font: 800 clamp(7px, .7vw, 11px)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    white-space: nowrap;
  }
  #beat-recipe-page .br-sheet-overview__step[data-hit="true"] {
    border: 2px solid #e64c3b;
    background: #2c1511;
    box-shadow: 0 0 4px #e64c3b66;
  }
  #beat-recipe-page .br-sheet-overview__step.br-step-playhead {
    border-color: #ffc96c;
    background: #67401c;
    box-shadow: 0 0 0 2px #e64c3b, 0 0 10px #ffae52aa;
  }
  #beat-recipe-page .br-sheet-overview__step.br-step-triggered { color: #fff2b1; }
  #beat-recipe-page .br-sheet-overview__number {
    color: #a99b83;
    font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  }
}
@media screen and (max-width: 700px) {
  #beat-recipe-page .br-sheet-overview { grid-template-columns: minmax(0, 1fr); }
  #beat-recipe-page .br-sheet-overview__step { font-size: 8px; }
}
@media print {
  #beat-recipe-page .br-sheet-overview { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 5px; padding: 4px; border: 1px solid #555; break-inside: avoid; }
  #beat-recipe-page .br-sheet-overview__label { font: 700 7px monospace; }
  #beat-recipe-page .br-sheet-overview__steps { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 2px; }
  #beat-recipe-page .br-sheet-overview__slot { display: grid; justify-items: center; min-width: 0; }
  #beat-recipe-page .br-sheet-overview__step { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 13px; border: 1px solid #888; font: 700 7px monospace; }
  #beat-recipe-page .br-sheet-overview__step[data-hit="true"] { border: 2px solid #9a3f31; }
  #beat-recipe-page .br-sheet-overview__number { font: 6px monospace; }
}
