.choice-notice{border-left:3px solid var(--gold);background:#202b28;border-radius:6px;padding:14px 17px;font-size:14px;line-height:1.7;margin:0 0 20px;color:var(--text)}
.custom-choices{padding:20px;margin-bottom:24px}.custom-choice-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.custom-choice-head h3{margin:8px 0;font-family:Georgia,serif;font-size:22px}.custom-choices p{font-size:13px;line-height:1.7;color:var(--muted);margin:12px 0}.custom-choice-list,.linked-choices ul{list-style:none;padding:0;margin:0}.custom-choice-list li,.linked-choices li{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid var(--line);align-items:center}.custom-choice-list li>div,.linked-choices li>span{min-width:0}.custom-choice-list li>div:last-child{display:flex;flex-shrink:0;gap:10px}.custom-choices small{display:block;margin-top:5px;font-size:12px;line-height:1.6;color:var(--muted)}.custom-choice-list b{font-weight:500;overflow-wrap:anywhere}.linked-choices summary{color:var(--teal);cursor:pointer;font-size:13px;margin-top:14px}.linked-choices li{font-size:13px}.linked-choices .text-button{flex-shrink:0}
.step-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0 0;border-top:1px solid var(--line);margin-top:15px}.step-controls>div{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.choice-badge{color:var(--muted);font-size:12px;line-height:1.6}.choice-badge.custom{color:var(--gold)}.step-controls .quiet-button{font-size:13px;padding:10px 13px;min-height:44px}.step-controls .text-button{min-height:44px}
.recipe-dialog{width:min(820px,calc(100vw - 32px));max-width:none;padding:24px;background:#101f27;overscroll-behavior:contain;border-color:#49625c;border-radius:14px}.recipe-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;position:sticky;top:-24px;padding:24px 0 14px;margin-top:-24px;background:#101f27;z-index:2;border-bottom:1px solid var(--line)}.recipe-dialog-head h2{font-family:Georgia,serif;font-size:25px;line-height:1.4;overflow-wrap:anywhere;margin:7px 0}.recipe-dialog-head .quiet-button{flex-shrink:0;min-height:44px}.recipe-dialog #recipe-dialog-scope{color:var(--muted);font-size:14px;line-height:1.8;margin:18px 0}.recipe-filters{display:grid;grid-template-columns:1fr 1fr;gap:15px}.recipe-filters label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted);min-width:0}.recipe-filters select{min-height:44px}.recipe-dialog .section-caption{margin:16px 0}.step-recipe-option{border:1px solid var(--line);border-radius:9px;padding:18px;background:#14232c;margin-top:17px;min-width:0}.step-recipe-option.selected{border-color:var(--gold);background:#232b25}.step-recipe-option h3{font-size:17px;margin:0;color:var(--text)}.step-recipe-option .recipe-title{gap:12px;margin-bottom:16px}.step-recipe-option>.primary-button,.step-recipe-option>.quiet-button{width:100%;margin-top:16px;min-height:44px}.branch-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;margin:17px 0 0}.branch-summary>div{min-width:0}.branch-summary dt{color:var(--muted);font-size:12px;line-height:1.6}.branch-summary dd{margin:5px 0 0;color:var(--teal);font-size:17px;line-height:1.6;overflow-wrap:anywhere}.branch-summary dd small{display:block;font-size:12px;color:var(--muted)}.recipe-dialog .branch-book-summary{font-size:13px;color:var(--gold);line-height:1.7;margin-top:16px}.recipe-dialog .branch-gap{font-size:13px;line-height:1.7;color:#d5bea0;border-left:2px solid var(--gold);padding-left:10px;margin-top:16px}.branch-preview{margin-top:14px}.branch-preview summary{color:var(--teal);font-size:14px;cursor:pointer;line-height:1.7;min-height:36px}.branch-preview>p{font-size:13px;line-height:1.7;color:var(--muted);margin-top:12px}.branch-roots{list-style:none;padding:0;margin:14px 0}.branch-roots li{border-top:1px solid var(--line);padding:10px 0;font-size:13px;line-height:1.7}.branch-roots b{display:block;font-weight:500}.branch-roots span{display:block;color:var(--teal)}.branch-roots small{display:block;color:var(--muted);font-size:12px}.recipe-dialog .ingredient-name{overflow-wrap:anywhere}.recipe-dialog .ingredients{flex-wrap:wrap}
@media(max-width:800px){.recipe-dialog{padding:16px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.recipe-dialog-head{top:-16px;padding:16px 0 12px;margin-top:-16px;gap:12px}.recipe-dialog-head h2{font-size:21px}.recipe-dialog-head .quiet-button{padding:10px 12px}.step-recipe-option{padding:15px}.branch-summary{grid-template-columns:1fr;gap:14px}.recipe-filters{gap:12px}.recipe-filters select{font-size:13px;padding:10px 8px}.custom-choices{padding:17px}.custom-choice-head{align-items:flex-start;flex-wrap:wrap}.custom-choice-list li{align-items:flex-start;flex-wrap:wrap}.custom-choice-list li>div:last-child{gap:20px}.step-controls{align-items:flex-start;flex-wrap:wrap}.step-controls>div{width:100%;justify-content:space-between;gap:8px}.linked-choices li{align-items:flex-start;flex-wrap:wrap}.branch-summary dd{font-size:16px}}
@media(min-width:801px){.recipe-dialog .total-expected strong{font-size:23px}}

.custom-choices .text-button{min-height:44px}.recipe-dialog-error{overflow-wrap:anywhere}

.recipe-sort-label{grid-column:1/-1}.recipe-dialog .recipe-sort-hint{font-size:13px;color:var(--muted);line-height:1.7;margin:14px 0 0}.recipe-sort-label select{width:100%}
