/* Recipe connections: paired admin theme colours, full names and bounded dialogs. */
.recipe-connection-dialog,.recipe-connection-dialog *{box-sizing:border-box}
.recipe-connection-dialog{position:fixed;z-index:2147483002;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid var(--theme-border,#ded4c7);border-radius:22px;background:var(--theme-surface,#fffdf8);color:var(--theme-text,#302619);box-shadow:0 24px 70px #0003;overflow:hidden;font-family:var(--font-body,system-ui),"Nirmala UI",sans-serif}
.recipe-connection-dialog[hidden],.rc-backdrop[hidden],.rpp-mobile-backdrop[hidden],.rpp-citation-group[hidden],.rc-related[hidden]{display:none!important}
.rc-backdrop,.rpp-mobile-backdrop{position:fixed;inset:0;z-index:2147483001;background:#12151dad;backdrop-filter:blur(5px)}
.rc-dialog-head,.rpp-popover__head{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:18px;border-bottom:1px solid var(--theme-border,#ded4c7);background:var(--theme-hero-bg,#542240);color:var(--theme-hero-text,#fff8eb)}
.rc-dialog-head>div,.rpp-popover__head-text{min-width:0;flex:1}
.rc-kicker{display:block;margin:0 0 5px;color:var(--theme-hero-muted,#f5dfca);font:750 10px/1.5 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.rc-dialog-head h2,.rpp-popover__title{display:block;margin:0;color:var(--theme-hero-text,#fff8eb);font:750 21px/1.3 var(--font-heading,Georgia),"Nirmala UI",serif;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
.rpp-popover__summary{display:block;margin-top:7px;color:var(--theme-hero-muted,#f5dfca);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.rc-close,.rpp-popover__close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0!important;margin:0;border:1px solid currentColor!important;border-radius:50%;background:transparent!important;color:var(--theme-hero-text,#fff8eb);cursor:pointer}
.rc-close svg,.rpp-popover__close svg{width:18px;height:18px;max-width:18px;flex-shrink:0}
.rc-dialog-body,.rpp-popover__body{max-height:min(66dvh,560px);overflow-y:auto;overscroll-behavior:contain;padding:16px;scrollbar-width:none;-ms-overflow-style:none}
.rc-dialog-body::-webkit-scrollbar,.rpp-popover__body::-webkit-scrollbar{display:none;width:0;height:0}
.rp .rp-aside{scrollbar-width:none;-ms-overflow-style:none}.rp .rp-aside::-webkit-scrollbar{display:none;width:0;height:0}
html:has(body.rc-dialog-open),html.cm-is-open{scrollbar-width:none;-ms-overflow-style:none}
html:has(body.rc-dialog-open)::-webkit-scrollbar,html.cm-is-open::-webkit-scrollbar{display:none;width:0;height:0}
#cmModal :is(#cmViewport,.cm-panel,.cm-step-side,.cm-ing-grid,.cm-done-faqs){scrollbar-width:none;-ms-overflow-style:none}
#cmModal :is(#cmViewport,.cm-panel,.cm-step-side,.cm-ing-grid,.cm-done-faqs)::-webkit-scrollbar{display:none;width:0;height:0}
.rc-ingredient-overview{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:start;margin-bottom:16px}
.rc-ingredient-photo{display:grid;place-items:center;width:64px;height:64px;object-fit:cover;border:1px solid var(--theme-border,#ded4c7);border-radius:50%;background:var(--theme-surface-muted,#f6efe6);color:var(--theme-heading,#302619);font-weight:800}
.rc-ingredient-overview h3{margin:0;color:var(--theme-heading,#302619);font:750 19px/1.45 var(--font-heading,Georgia),"Nirmala UI",serif;overflow-wrap:anywhere}
.rc-ingredient-hindi{display:block;margin-top:4px;color:var(--theme-text-muted,#66564b);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.rc-quantity{display:inline-flex;flex-wrap:wrap;gap:5px;margin-top:10px;padding:6px 10px;border-radius:9px;border:1px solid var(--theme-border,#ded4c7);background:var(--theme-accent-bg,#faedcd);color:var(--theme-accent-text,#613c17);font:750 12px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
.rc-swap{padding:14px;border:1px solid var(--theme-border,#ded4c7);border-left:3px solid var(--theme-focus,#a55127);border-radius:12px;background:var(--theme-surface-muted,#f6efe6);color:var(--theme-text,#302619);font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.rc-swap strong{display:block;color:var(--theme-heading,#302619)}
.rc-swap p{margin:5px 0 0}
.rc-related{margin-top:18px;padding-top:16px;border-top:1px solid var(--theme-border,#ded4c7)}
.rc-related h3{margin:0 0 12px;color:var(--theme-heading,#302619);font:750 17px/1.45 var(--font-heading,Georgia),"Nirmala UI",serif;overflow-wrap:anywhere}
.rc-recipe-list{display:grid;gap:8px}
.rc-recipe-link{display:grid;grid-template-columns:42px minmax(0,1fr) 26px;gap:10px;align-items:center;min-height:64px;padding:10px;border:1px solid var(--theme-border,#ded4c7);border-radius:13px;background:var(--theme-surface-muted,#f6efe6);color:var(--theme-text,#302619)!important;text-decoration:none!important}
.rc-recipe-link img,.rc-recipe-placeholder{width:42px;height:42px;object-fit:cover;border-radius:50%;background:var(--theme-surface,#fffdf8)}
.rc-recipe-placeholder{display:grid;place-items:center;color:var(--theme-icon,#86502c);font-size:18px;font-weight:800}
.rc-recipe-link>span{min-width:0}
.rc-recipe-link strong{display:block;color:var(--theme-heading,#302619);font-size:13px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.rc-recipe-link small{display:block;margin-top:3px;color:var(--theme-text-muted,#66564b);font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.rc-recipe-arrow{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--theme-primary-bg,#7d2442);color:var(--theme-primary-text,#fff)}
.rc-recipe-arrow svg{width:13px;height:13px;max-width:13px}
.rc-message,.rc-disclosure{margin:12px 0 0;color:var(--theme-text-muted,#66564b);font:400 12px/1.65 system-ui,"Nirmala UI",sans-serif;overflow-wrap:anywhere}
.rpp-citation-product{display:grid;grid-template-columns:64px minmax(0,1fr) 28px;gap:12px;align-items:center;min-height:84px;padding:12px 4px;border-bottom:1px solid var(--theme-border,#ded4c7);color:var(--theme-text,#302619)!important;text-decoration:none!important}
.rpp-citation-product--focused{border-radius:12px;padding-inline:10px;background:var(--theme-accent-bg,#faedcd)}
.rpp-citation-product__image{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--theme-border,#ded4c7);border-radius:50%;padding:6px;background:var(--theme-surface,#fffdf8);overflow:hidden}
.rpp-citation-product__image img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.rpp-citation-product__placeholder svg{width:28px;height:28px}
.rpp-citation-product__content{min-width:0}
.rpp-citation-product__type{display:block;color:var(--theme-text-muted,#66564b);font-size:10px;font-weight:750;line-height:1.5}
.rpp-citation-product__name{display:block;margin:4px 0;color:var(--theme-heading,#302619);font-size:14px;font-weight:750;line-height:1.5;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.rpp-citation-product--focused :is(.rpp-citation-product__name,.rpp-citation-product__price,.rpp-citation-product__type){color:var(--theme-accent-text,#613c17)}
.rpp-citation-product__price{display:block;color:var(--theme-heading,#302619);font-weight:800;font-size:14px;line-height:1.5}
.rpp-citation-product__arrow{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--theme-primary-bg,#7d2442);color:var(--theme-primary-text,#fff)}
.rpp-citation-all{display:flex;align-items:center;justify-content:center;min-height:44px;margin:14px 0 0;padding:10px 14px;border:1px solid var(--theme-border,#ded4c7);border-radius:10px;background:var(--theme-primary-bg,#7d2442);color:var(--theme-primary-text,#fff)!important;font-size:12px;font-weight:750;text-align:center;line-height:1.6;overflow-wrap:anywhere;text-decoration:none!important}
.recipe-connection-dialog :is(a,button):focus-visible{outline:3px solid var(--theme-focus,#a55127);outline-offset:3px}
.rc-recipe-link:hover,.rpp-citation-product:hover{box-shadow:inset 0 0 0 1px var(--theme-focus,#a55127)}
/* Linked words keep the actual destination and paid-link attributes. */
.rp :is(.ingredient-autolink,.product-autolink),#cmModal :is(.ingredient-autolink,.product-autolink){white-space:normal;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;border-radius:3px;font-weight:750}
.rp .ingredient-autolink,#cmModal .ingredient-autolink{color:var(--theme-link,#86502c);text-decoration-style:dashed}
.rp :is(.product-autolink,.product-autolink-citation),#cmModal :is(.product-autolink,.product-autolink-citation){color:var(--theme-link,#86502c)}
.rp .product-autolink-citation,#cmModal .product-autolink-citation{display:inline-block;min-width:28px;padding:3px 4px;margin-inline:2px;border:1px solid var(--theme-border,#ded4c7);border-radius:7px;background:var(--theme-accent-bg,#faedcd);color:var(--theme-accent-text,#613c17);font-weight:800;text-align:center;text-decoration:none}
.rp :is(.rp-ing-txt-label,.rp-ing-name,.rp-step-txt),#cmModal :is(.cm-ing-name,.cm-side-name,.cm-instruction){min-width:0;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
.rp .rp-ing{align-items:flex-start!important}.rp .rp-ing-check,.rp .rp-ing-img{flex-shrink:0}
.rp .rp-servings-scaler{flex-wrap:wrap}
.rp .rp-chef-products__list{scrollbar-width:none}.rp .rp-chef-products__list::-webkit-scrollbar{display:none}
.rp .rp-chef-products .mp-card--chef{grid-template-columns:minmax(100px,.65fr) minmax(0,1.35fr);min-height:0;padding:22px;gap:22px}
.rp .rp-chef-products .mp-card__title{font-size:22px;white-space:normal;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;overflow-wrap:anywhere}
.rp .rp-chef-products :is(.mp-card__actions,.mp-card__price-row){flex-wrap:wrap}
.rp .rp-chef-products .mp-card__button{white-space:normal;overflow-wrap:anywhere}
.rpp-card :is(h3,.rpp-card__channel,.rpp-card__cta){white-space:normal;overflow-wrap:anywhere}.rpp-card__footer{flex-wrap:wrap}
@media(max-width:1199px){body.rc-dialog-open{overflow:hidden!important}.recipe-connection-dialog{left:0!important;right:0;top:auto!important;bottom:0;width:100%;max-height:88dvh;border-width:1px 0 0;border-radius:24px 24px 0 0}.rc-dialog-body,.rpp-popover__body{max-height:calc(88dvh - 160px);padding:16px 16px calc(20px + env(safe-area-inset-bottom))}}
@media(min-width:1200px){.rc-backdrop,.rpp-mobile-backdrop{display:none!important}}
@media(max-width:600px){.rp .rp-chef-products .mp-card--chef{grid-template-columns:1fr;padding:18px;gap:16px}.rp .rp-chef-products .mp-card__visual{grid-column:1;grid-row:1;width:min(180px,100%);justify-self:center}.rp .rp-chef-products .mp-card__content{grid-column:1;grid-row:2}.rp .rp-chef-products .mp-card__title{font-size:20px}.rp .rp-chef-products .mp-card__actions{flex-direction:column}.rp .rp-chef-products .mp-card__cart{flex:auto}}
@media(max-width:360px){.rpp-citation-product{grid-template-columns:48px minmax(0,1fr) 26px;gap:8px}.rpp-citation-product__image{width:48px;height:48px}.rc-dialog-head,.rpp-popover__head{padding:14px}.rc-ingredient-overview{grid-template-columns:52px minmax(0,1fr);gap:10px}.rc-ingredient-photo{width:52px;height:52px}}
@media(prefers-reduced-motion:reduce){.recipe-connection-dialog *{scroll-behavior:auto!important;transition:none!important}}
