/* Only the interior of the existing Bench panel. */
.craft-hud-bench .bench-only { min-width: 0; padding: 10px; }
.craft-hud-bench .bench-only-instruction { margin: 0 0 10px; font-size: 12px; line-height: 1.45; text-align: center; color: #c6dedf; }
.craft-hud-bench .bench-only-table { position: relative; width: 100%; max-width: 280px; aspect-ratio: 1; margin: 0 auto 12px; background: url('./bench-nine-slots.png') center / contain no-repeat; }
.craft-hud-bench .bench-only-grid { position: absolute; inset: 23% 23% 24% 22%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(3,minmax(0,1fr)); gap: 3px; }
.craft-hud-bench .bench-only-grid button { position: relative; min-width: 0; min-height: 0; padding: 2px; border: 1px solid #c7a272; border-radius: 2px; display: grid; place-items: center; background: #16251b38; cursor: pointer; touch-action: manipulation; }
.craft-hud-bench .bench-only-grid button.expected { border: 2px dashed #efd19a; }
.craft-hud-bench .bench-only-grid button.expected img { opacity: .25; }
.craft-hud-bench .bench-only-grid button.filled { background: #25453cbd; border-color: #9ad2b1; }
.craft-hud-bench .bench-only-grid img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.craft-hud-bench .bench-only-result { display: flex; align-items: center; gap: 8px; padding: 10px 8px; border: 1px solid #49616b; border-radius: 8px; background: #193247; min-width: 0; }
.craft-hud-bench .bench-only-result > span { font-size: 25px; color: #dfb36e; }
.craft-hud-bench .bench-only-result strong { display: block; font-size: 13px; line-height: 1.35; }
.craft-hud-bench .bench-only-result small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: #bfdbd3; }
.craft-hud-bench .bench-only-requirement { margin: 10px 0; font-size: 12px; line-height: 1.45; color: #ebd49d; }
.craft-hud-bench .bench-only-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; }
.craft-hud-bench .bench-only-actions button { min-height: 44px; padding: 7px; border: 1px solid #62747b; border-radius: 8px; background: #243b48; color: #edf2e8; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.craft-hud-bench .bench-only-actions button:last-child { background: #82643b; border-color: #bba16e; }
.craft-hud-bench .bench-only-actions button:disabled { opacity: .45; cursor: not-allowed; }
.craft-hud-bench .bench-only button:focus-visible { outline: 3px solid #84d8c5; outline-offset: 2px; }
.craft-hud-bench .bench-only-feedback { margin: 8px 0 0; color: #bdded3; font-size: 12px; line-height: 1.35; }
.craft-hud-bench .bench-only-feedback:empty { display: none; }
/* The existing panel scrolls internally rather than invading the track. */
.craft-hud-bench #craft-bancada-corpo { max-height: 390px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #8c764e #132932; }
@media(max-width:720px) { .craft-hud-bench #craft-bancada-corpo { max-height: none; } }
/* In the existing stacked layout, reserve the bottom band's own height. */
@media(max-width:1120px) {
  .craft-stage:has(.bench-only) .craft-stage-base { position: relative; inset: auto; }
}
