.recipe-warning { position: sticky; left: 0; max-width: calc(100vw - 12px); margin: 8px 0; padding: 12px; border-left: 4px solid var(--start-strong); background: var(--paper); color: var(--ink); }
.beta-panel { max-width: 720px; margin-top: 12px; padding: 16px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--paper); }
.beta-panel label { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; }
.beta-panel input { width: 22px; height: 22px; accent-color: var(--accent); flex-shrink: 0; }
.beta-panel fieldset { margin: 12px 0; border: 1px solid var(--hairline); border-radius: 8px; }
.beta-panel fieldset:disabled { opacity: .55; }
.beta-panel :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ingredient-guide { grid-column: 1 / -1; align-self: end; position: relative; z-index: 3; height: 0; margin-bottom: calc(0px - var(--gap)); border-top: 1px solid color-mix(in srgb, var(--muted) 38%, transparent); pointer-events: none; }
.has-ingredient-guides .ingredient { box-shadow: inset 0 -1px color-mix(in srgb, var(--muted) 38%, transparent); }
.has-ingredient-guides .op-head { z-index: 4; }
.equipment-label { display: flex; align-items: center; padding-left: 8px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
/* Separate steps must not hide their time/temperature inside a 54px row. */
.recipe-grid:not(.has-vertical-text) { grid-template-rows: var(--stage-head) repeat(var(--rows), minmax(var(--row), max-content)); }
.op-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.has-vertical-text { --stage: 108px; --row: 168px; }
.has-vertical-text .op-head { display: flex; flex-direction: column; height: 100%; min-height: 0; max-height: 360px; padding: 4px; }
.has-vertical-text .play { order: -1; align-self: center; flex-shrink: 0; }
.has-vertical-text .op-main { flex: 1; min-height: 0; gap: 4px; }
.has-vertical-text .vessel-tag { flex-shrink: 0; }
.has-vertical-text .op-text { display: block; flex: 1; min-height: 0; width: 100%; writing-mode: vertical-rl; text-orientation: mixed; overflow: hidden; }
.has-vertical-text .op-text strong, .has-vertical-text .op-text .meta { display: block; white-space: normal; }
