.recipe-draft-media{position:relative}
.recipe-draft-media>.recipe-draft-label{position:absolute;inset:auto auto 8px 8px;z-index:6;box-sizing:border-box;max-width:calc(100% - 16px);padding:4px 6px;border:1px solid var(--edge);border-radius:6px;background:var(--surface,#fff);color:var(--ink);font-size:.65rem;font-style:normal;font-weight:700;line-height:1.1;white-space:nowrap;box-shadow:0 1px 4px #142b2620;pointer-events:none}
.recipe-draft-card :is([data-fav],[data-like],[data-rate]){cursor:default;pointer-events:none}
.recipe-draft-media.shop-dish-photo{display:block;overflow:hidden;line-height:0}.recipe-draft-media.shop-dish-photo>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.recipe-draft-group-photo{display:block;width:max-content;line-height:0}.recipe-draft-group-photo>.recipe-draft-label{inset:auto auto 4px 4px;max-width:calc(100% - 8px);padding:2px 3px;font-size:.5rem}
html[data-design][data-page=home] #main#main :is(.shop-dish-body>strong,.shop-group-head strong){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.3;max-height:2.6em;overflow:hidden;white-space:normal;overflow-wrap:anywhere;hyphens:none}
html[data-design] #main#main .own-profile-header:not(.other-profile-header) .own-profile-toolbar{display:flex;justify-content:center;gap:8px}
html[data-design] #main#main .own-profile-header:not(.other-profile-header) .own-profile-controls{flex:0 1 auto}
.discovery-shopping-tools>.discovery-page-name{order:1;text-align:start}
html[data-design] .discovery-shopping-tools>.default-servings.servings-inline{order:2;margin-inline-start:auto}
html[data-design][data-page=home][data-discovery-header] #main#main .compact-home>.shop-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px}
html[data-design][data-page=home][data-discovery-header] #main#main .compact-home>.shop-top>.shop-brand{grid-column:1;grid-row:1;min-width:0;font-size:clamp(1.4rem,5vw,2rem)}
html[data-design][data-page=home][data-discovery-header] #main#main .compact-home>.shop-top>.shop-recipe-count{grid-column:2;grid-row:1;text-align:end;font-size:.8rem}
html[data-design][data-page=home][data-discovery-header] #main#main .compact-home>.shop-top>.shop-mode-tabs{grid-column:1/-1;grid-row:2}
/* Actions on a draft sheet. */
.recipe-draft-sheet-bar{display:grid;gap:10px;margin:12px 0 16px;padding:12px 14px;border:1px dashed var(--accent,#a9542d);border-radius:16px;background:var(--surface,#fff)}
.recipe-draft-sheet-bar p{margin:0}
.recipe-draft-sheet-actions{display:flex;flex-wrap:wrap;gap:8px}
.recipe-draft-sheet-actions .btn{flex:1 1 140px;min-height:44px}
/* Servings or pieces. */
.recipe-yield-choice{display:grid;gap:6px;margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--edge,#ccd7dc);min-width:0}
.recipe-yield-choice>label:first-child{display:flex!important;align-items:flex-start;gap:8px!important;margin:0!important;font-size:16px;cursor:pointer}
.recipe-yield-choice>label:first-child input{width:20px!important;height:20px!important;flex:none;min-height:0!important;margin:2px 0 0!important;padding:0!important;accent-color:var(--accent,#a9542d)}
.recipe-yield-choice .meta{margin:0;font-size:14px;line-height:1.4}
.recipe-yield-unit{display:grid;gap:6px;margin:4px 0 0!important;font-weight:700}
.recipe-yield-unit[hidden]{display:none!important}
.recipe-yield-compact{display:grid;gap:4px;min-width:0}
.recipe-edit-portion-lock small{display:block;font-size:.85em;color:var(--muted,#5b6b70)}
.recipe-yield-compact .recipe-yield-unit{font-size:12px;font-weight:600}.recipe-yield-compact .recipe-yield-unit input{font-size:14px;min-height:34px;padding:4px 8px}
