/* Cuisiniers bis: recipes in batches, two steps. */
/* Directory cards have a fixed height; a card with its own batch buttons grows to show them. */
html[data-design] #main#main .creator-directory-card.has-bis-batch,.creator-directory-card.has-bis-batch{height:auto!important;min-height:0!important;grid-template-rows:none!important;grid-auto-rows:auto!important}
.bis-batch-entry{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1;box-sizing:border-box;width:100%;padding:0 16px 16px}
.bis-batch-entry .btn{flex:1 1 auto;min-height:44px}
.bis-batch-page{display:grid;gap:16px;min-width:0}
.bis-batch-page>h1{margin:0}
.bis-batch-target label{display:grid;gap:7px;font-weight:700}
.bis-batch-target select,.bis-batch-photo-grid select{box-sizing:border-box;width:100%;min-height:48px;padding:0 12px;border:1px solid var(--edge,#ccd7dc);border-radius:12px;background:#fff;color:var(--ink,#142b26);font:inherit;font-weight:400}
.bis-batch-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bis-batch-steps button{display:grid;gap:2px;min-height:56px;padding:8px 12px;border:1px solid var(--edge,#ccd7dc);border-radius:14px;background:var(--surface,#fff);color:var(--ink,#142b26);font:700 1rem/1.25 inherit;text-align:start;cursor:pointer}
.bis-batch-steps button span{font-size:.75rem;font-weight:400;color:var(--muted,#5b6b70)}
.bis-batch-steps button[aria-pressed=true]{border-color:var(--accent,#a9542d);box-shadow:inset 0 0 0 1px var(--accent,#a9542d);color:var(--accent,#a9542d)}
.bis-batch-steps button:focus-visible{outline:3px solid var(--accent,#a9542d);outline-offset:2px}
.bis-batch-paste summary{cursor:pointer;font-weight:700}
.bis-batch-paste label{display:grid;gap:7px;margin:12px 0}
.bis-batch-paste textarea{box-sizing:border-box;width:100%;padding:11px;border:1px solid var(--edge,#ccd7dc);border-radius:12px;font:inherit}
.bis-batch-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:12px 0}
.bis-batch-photo-grid figure{display:grid;gap:6px;margin:0;padding:8px;border:1px solid var(--edge,#ccd7dc);border-radius:14px;background:var(--surface,#fff);min-width:0}
.bis-batch-photo-grid figure.is-ready{border-color:var(--accent,#a9542d)}
.bis-batch-photo-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:var(--soft,#eef2f4)}
.bis-batch-recrop-pair{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.bis-batch-photo-grid figure:has(.bis-batch-recrop-pair){grid-column:1/-1}
.bis-batch-photo-grid .bis-batch-recrop-pair img{object-fit:contain}
.bis-batch-recrop-pair img:first-child{opacity:.75}
.bis-batch-photo-grid figcaption{font-size:.8rem;color:var(--muted,#5b6b70);overflow-wrap:anywhere}
.bis-batch-photo-grid label{display:grid;gap:4px;font-size:.85rem;font-weight:700}
.bis-batch-recipes{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px}
.bis-batch-recipe{display:grid;gap:6px;padding:12px;border:1px solid var(--edge,#ccd7dc);border-radius:14px;min-width:0}
.bis-batch-recipe .meta{margin:0}
.bis-batch-recipe-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.bis-batch-recipe-head strong{min-width:0;overflow-wrap:anywhere}
.bis-batch-badge{flex:none;padding:3px 9px;border-radius:99px;background:var(--soft,#eef2f4);font-size:.78rem;white-space:nowrap}
.bis-batch-badge.is-done{background:#e3f1e6;color:#1d5b2c}
.bis-batch-badge.is-staged{background:#fbe9dd;color:#8a3f1c}
.bis-batch-proposal{margin:0;padding:8px 10px;border-radius:10px;background:var(--soft,#eef2f4)}
.bis-batch-recipe-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}
.bis-batch-recipe-actions details{flex:1 1 220px;min-width:0}
.bis-batch-recipe-actions summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700}
.bis-batch-cat-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px;margin:8px 0}
.bis-batch-cat-choices label{display:flex;align-items:center;gap:8px;min-height:40px}
.bis-batch-cat-choices input{width:22px;height:22px;flex:none}
