#cookbook-results .recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#cookbook-results .card-main{height:100%}#cookbook-results h3{overflow-wrap:anywhere}#cookbook-search,#cookbook-stock{width:100%;min-height:48px}dialog.cookbook-full{width:100%;max-width:900px;height:100dvh;max-height:100dvh;margin:0 auto;border-radius:0;padding-bottom:40px}dialog.cookbook-full>.quiet:first-child{position:sticky;top:0;z-index:3;background:var(--paper,#fff)}@media(max-width:600px){#cookbook-results .recipe-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){dialog.cookbook-full{scroll-behavior:auto}}
#cookbook-results .card-main,.card .card-main{display:flex;flex-direction:column;align-items:stretch;width:100%}.card .card-main>.cover{width:100%;height:220px;min-height:220px;aspect-ratio:auto}.card .card-main>.cover img{width:100%;height:100%;object-fit:cover}.card .card-copy{width:100%;box-sizing:border-box}.card .food-illustration{background-size:400% 300%}.recipe-header-art .detail-cover{min-height:280px}@media(min-width:700px){.card .card-main>.cover{height:260px;min-height:260px}}
.cookbook-search-panel{display:grid;gap:12px}.cookbook-search-panel .field{margin:0}.cookbook-scope{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cookbook-scope .btn{padding:10px 8px;min-width:0}.filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:16px}.filter-grid input,.filter-grid select,.meal-picker select{width:100%;min-width:0;min-height:48px;font-size:16px}.active-filters{display:flex;gap:6px;flex-wrap:wrap}.active-filters:empty{display:none}.active-filters .btn{font-size:.75rem;padding:7px 10px;min-height:36px}.flow-options{padding:14px 0}.flow-options>summary,#cookbook-refine>summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-weight:600}.flow-options[open]>summary{margin-bottom:12px}.flow-options .field{margin:12px 0}.cookbook-add{padding-top:4px}.bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}.shell{padding-bottom:calc(100px + env(safe-area-inset-bottom))}button,input,select,textarea{touch-action:manipulation}#cookbook-results .card-copy .small{line-height:1.5}.cookbook-search-panel .btn{white-space:normal}.cookbook-full .dialog-actions,.cookbook-full .maker-actions{gap:10px}@media(max-width:480px){.filter-grid{grid-template-columns:1fr}.library-heading{margin-top:8px;margin-bottom:16px}.library-heading h1{font-size:1.85rem}.cookbook-search-panel{padding:16px}.cookbook-scope .btn{font-size:.76rem}.cookbook-add{display:grid;grid-template-columns:1fr 1fr}.cookbook-add .btn{padding:10px 8px;font-size:.8rem}.recipe-topbar,.detail-actions{flex-wrap:wrap}.cookbook-full>.quiet:first-child{min-height:48px}.flow-options .batch{margin-top:8px}}

/* Equal-width cookbook scope controls, including narrow Android screens. */
.cookbook-search-panel .cookbook-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0;align-items:stretch}.cookbook-search-panel .cookbook-scope .btn{display:flex;justify-content:center;align-items:center;width:100%;min-width:0;min-height:48px;height:100%;margin:0;padding:12px 8px;box-sizing:border-box;border-radius:12px;font-size:14px;line-height:1.35;text-align:center;font-weight:600}.cookbook-scope .btn:focus-visible{outline:2px solid currentColor;outline-offset:3px}

.cook .cook-step{font-size:clamp(1.25rem,4.8vw,1.6rem);line-height:1.65}.cook-navigation{position:sticky;bottom:88px;z-index:4;background:var(--paper,#fffaf4);padding:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.cook-navigation .btn{min-height:52px}.timer-presets{gap:8px;margin-bottom:12px}.timer-presets .btn{min-height:44px}#cooking-checklist label{min-height:48px;cursor:pointer}#cooking-checklist input:checked+span{text-decoration:line-through;opacity:.65}.recipe-review summary{min-height:44px;align-content:center;cursor:pointer}.recipe-review{margin-top:16px}

.everyday-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.filter-heading{font-size:1rem;margin:0 0 10px}.refine-group{border-top:1px solid var(--line,#e5d9ca);padding:4px 0}.refine-group>summary{min-height:48px;align-content:center;font-weight:600;cursor:pointer}.filter-note{grid-column:1/-1}.cookbook-sort{max-width:260px;margin:16px 0}.everyday-filters select,.cookbook-sort select{width:100%;min-height:48px;font-size:16px}.refine-group .filter-grid{padding:8px 0 16px}@media(max-width:420px){.everyday-filters{grid-template-columns:1fr}}

.everyday-filters .filter-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.world-country-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#ddd)}.world-country-row>div{min-width:0;overflow-wrap:anywhere}.world-country-row button{flex-shrink:0;min-height:44px}.world-country-row p{margin:4px 0 0}@media(max-width:360px){.world-country-row{align-items:flex-start}.world-country-row button{max-width:110px}}
.recipe-photo-pending{background:linear-gradient(135deg,#efe7db,#faf6ee);display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#685d4c;text-align:center;padding:20px;box-sizing:border-box}.photo-pending-mark svg{width:42px;height:42px;opacity:.6}.recipe-photo-pending small{font-size:11px}.recipe-description{font-size:14px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.language-control{max-width:280px}.public-edition-notice{padding:12px 16px;border:1px solid #bb8950;border-radius:12px;background:#fff4dd;color:#352918;font-size:13px}
