.recipe-yield-dialog{box-sizing:border-box;width:min(94vw,760px);max-height:min(90dvh,900px);overflow:auto;padding:clamp(18px,4vw,30px);border:1px solid #d7e3d8;border-radius:24px;background:#fbfcf9;color:#22382c;box-shadow:0 24px 80px #10231a42}.recipe-yield-dialog::backdrop{background:#10231aa6;backdrop-filter:blur(4px)}.recipe-yield-dialog :focus-visible{outline:var(--v3-focus-width,3px) solid var(--v3-focus,#14583f);outline-offset:var(--v3-focus-offset,2px)}.recipe-yield-dialog button:disabled{opacity:.56;cursor:not-allowed}.recipe-yield-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.recipe-yield-top h2{margin:0 0 8px;color:inherit;font-size:clamp(1.3rem, 4vw, 1.75rem);line-height:1.18;letter-spacing:-.025em}.recipe-yield-top p{max-width:64ch;margin:0;color:#506456;line-height:1.5}.recipe-yield-close{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:14px;color:inherit;background:#eaf0e9}.recipe-yield-template-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin:20px 0;padding:12px;border:1px solid #dbe6dc;border-radius:16px;background:#f2f6f0}.recipe-yield-meal-detail,.recipe-yield-template-details{margin:12px 0}.recipe-yield-meal-detail>summary,.recipe-yield-template-details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700;color:#385b42;list-style:none}.recipe-yield-meal-detail>summary:focus-visible,.recipe-yield-template-details>summary:focus-visible{border-radius:8px}.recipe-yield-meal-detail .recipe-yield-field{margin-top:8px}.recipe-yield-field,.recipe-yield-template-bar label{display:grid;gap:6px;min-width:0;font-weight:700;font-size:.9rem}.recipe-yield-dialog input,.recipe-yield-dialog select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:9px 11px;border:1px solid #bdcfc0;border-radius:11px;background:#fff;color:#20382a;font:inherit;font-size:16px}.recipe-yield-dialog button{min-height:44px}.recipe-yield-dialog .btn-primary{border-color:#28533f;background:#28533f;color:#fff}.recipe-yield-dialog .btn-outline-primary{border-color:#6e9275;background:0 0;color:#28533f}.recipe-yield-dialog .btn-outline-primary:focus-visible,.recipe-yield-dialog .btn-outline-primary:hover:not(:disabled){border-color:#28533f;background:#e8f0e7;color:#203f2c}.recipe-yield-dialog .btn-outline-primary:disabled{border-color:#c2d0c3;background:#f2f5f0;color:#738577;opacity:1}.recipe-yield-meal-detail>summary::-webkit-details-marker,.recipe-yield-template-details>summary::-webkit-details-marker{display:none}.recipe-yield-meal-detail>summary::after,.recipe-yield-template-details>summary::after{content:'⌄';margin-left:auto;font-size:1.25rem;line-height:1;transition:transform .15s}.recipe-yield-meal-detail[open]>summary::after,.recipe-yield-template-details[open]>summary::after{transform:rotate(180deg)}.recipe-yield-section-title{margin:20px 0 8px;font-size:1rem;font-weight:800}.recipe-yield-help{margin:6px 0 0;color:#52685a;font-size:.88rem;line-height:1.45}.recipe-yield-search-wrap{position:relative}.recipe-yield-search-results{display:grid;gap:4px;max-height:220px;overflow:auto;margin-top:6px;padding:5px;border:1px solid #d4dfd5;border-radius:12px;background:#fff}.recipe-yield-search-results[hidden]{display:none}.recipe-yield-search-result{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:8px;text-align:left;color:#243e2f;background:0 0}.recipe-yield-search-result:hover{background:#edf4ed}.recipe-yield-search-result small{flex:0 0 auto;color:#506456;font-size:.78rem}.recipe-yield-selected{display:grid;grid-template-columns:minmax(0,1fr) 124px auto;align-items:end;gap:10px;margin-top:12px;padding:12px;border:1px solid #dce6dc;border-radius:14px;background:#f5f8f3}.recipe-yield-selected[hidden]{display:none}.recipe-yield-selected-name{min-width:0;padding-bottom:11px;overflow-wrap:anywhere;font-weight:750}.recipe-yield-ingredients{display:grid;gap:8px;margin:10px 0 0;padding:0;list-style:none}.recipe-yield-ingredient{display:grid;grid-template-columns:minmax(0,1fr) 118px 44px;align-items:center;gap:9px;padding:10px;border:1px solid #dce6dc;border-radius:13px;background:#fff}.recipe-yield-ingredient-name{min-width:0;overflow-wrap:anywhere;font-weight:700}.recipe-yield-ingredient-name small{display:block;margin-top:3px;color:#52685a;font-size:.8rem;font-weight:500}.recipe-yield-remove{width:44px;border:0;border-radius:11px;color:#52685a;background:#edf2ec}.recipe-yield-empty{margin:8px 0 0;padding:12px;border-radius:12px;color:#53665a;background:#f1f5ef}.recipe-yield-weights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.recipe-yield-preview{margin-top:14px;padding:15px;border:1px solid #cfded0;border-radius:16px;background:#edf4ec}.recipe-yield-preview[hidden]{display:none}.recipe-yield-preview h3{margin:0 0 8px;font-size:.98rem}.recipe-yield-preview-total{margin:0 0 8px;font-size:1.06rem;font-weight:800;line-height:1.5}.recipe-yield-preview-items{display:grid;gap:4px;margin:0;padding:0;list-style:none;font-size:.88rem}.recipe-yield-status{min-height:1.5em;margin:12px 0 0;color:#425b49;line-height:1.4}.recipe-yield-status.is-error{color:#a02f2f}.recipe-yield-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.recipe-yield-actions button{flex:1 1 180px;padding:10px 13px;line-height:1.25}.recipe-yield-dialog .feature-footnote{margin:10px 0 0;color:#54675b;font-size:.82rem;line-height:1.45}.dark-mode .recipe-yield-dialog{border-color:#45584a;background:#17231d;color:#edf4ee}.dark-mode .recipe-yield-dialog .feature-footnote,.dark-mode .recipe-yield-help,.dark-mode .recipe-yield-ingredient-name small,.dark-mode .recipe-yield-search-result small,.dark-mode .recipe-yield-top p{color:#c0d0c3}.dark-mode .recipe-yield-empty,.dark-mode .recipe-yield-selected,.dark-mode .recipe-yield-template-bar{border-color:#405247;background:#202f25;color:#e9f1e9}.dark-mode .recipe-yield-dialog input,.dark-mode .recipe-yield-dialog select,.dark-mode .recipe-yield-ingredient,.dark-mode .recipe-yield-search-results{border-color:#536b59;background:#1c2a21;color:#edf4ee}.dark-mode .recipe-yield-search-result{color:#edf4ee}.dark-mode .recipe-yield-close,.dark-mode .recipe-yield-remove,.dark-mode .recipe-yield-search-result:hover{background:#2b3d30;color:#e4efe4}.dark-mode .recipe-yield-preview{border-color:#506b55;background:#223729}.dark-mode .recipe-yield-status{color:#c9d9ca}.dark-mode .recipe-yield-status.is-error{color:#ffb8ad}.dark-mode .recipe-yield-meal-detail>summary,.dark-mode .recipe-yield-template-details>summary{color:#c9e1cc}.dark-mode .recipe-yield-dialog .btn-outline-primary{border-color:#80a989;color:#c7e1ca}.dark-mode .recipe-yield-dialog .btn-outline-primary:focus-visible,.dark-mode .recipe-yield-dialog .btn-outline-primary:hover:not(:disabled){border-color:#9dc7a2;background:#2b4230;color:#f0f6ef}.dark-mode .recipe-yield-dialog .btn-outline-primary:disabled{border-color:#4b5f4e;background:#202d23;color:#869a89}@media (max-width:520px){.recipe-yield-template-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-yield-template-bar label{grid-column:1/-1}.recipe-yield-template-bar>button{min-width:0;white-space:normal;line-height:1.1}.recipe-yield-selected{grid-template-columns:minmax(0,1fr) 100px}.recipe-yield-selected .btn{grid-column:1/-1}.recipe-yield-ingredient{grid-template-columns:minmax(0,1fr) 94px 40px;gap:6px;padding:8px}.recipe-yield-remove{width:40px}.recipe-yield-weights{grid-template-columns:minmax(0,1fr)}.recipe-yield-actions{display:grid;grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.recipe-yield-dialog *{scroll-behavior:auto!important}}