/* Cards use available container width rather than viewport column counts. */
.brew-page .recipe-library .recipe-list {grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;}
.brew-page .recipe-library .recipe-list>.recipe-card {margin:0;min-width:0;}
.brew-page .recipe-library .recipe-card-banner {background-size:auto 100%;}
.brew-page .recipe-library .recipe-card-facts {grid-template-columns:repeat(2,minmax(0,1fr));}
.brew-page .recipe-library .recipe-card-facts>div {min-width:0;}
/* Editable sheets share the containing card's inner edges, at every width. */
.brew-page #recipe-form :is(.recipe-main-panel,.recipe-process-panel) .edge-list {--list-inset:0px;margin-inline:0;max-width:100%;width:100%;}
.brew-page #recipe-form :is(.recipe-ingredients-sheet,.recipe-steps-sheet) {max-width:100%;}
.brew-page #recipe-form :is(input,select,textarea,.step-instruction-field,.recipe-step-content) {min-width:0;max-width:100%;box-sizing:border-box;}
.brew-page #recipe-form .recipe-header-grid>label {min-width:0;}
@media(max-width:700px){
 .brew-page #recipe-form .recipe-steps-sheet[data-mobile-sheet] td {min-width:0;max-width:100%;}
 .brew-page #recipe-form .recipe-steps-sheet[data-mobile-sheet] .step-order-cell {width:38px;min-width:0;}
 .brew-page #recipe-form .recipe-steps-sheet[data-mobile-sheet]>tbody>tr {grid-template-columns:38px minmax(0,1fr) 80px 38px;}
}
.brew-page .recipe-library .recipe-card-banner {padding-right:132px;background-size:120px auto;background-position:right 8px center;}
.brew-page .recipe-library .recipe-card-banner h2 {min-width:0;overflow-wrap:anywhere;}
