header{max-width:1240px}nav{gap:16px;flex-wrap:wrap}.editor>.panel,.panel+ .panel{margin-bottom:22px}.editor label{margin:14px 0}select,textarea{display:block;width:100%;border:1px solid #a6b5a7;border-radius:8px;padding:12px;font:inherit;color:var(--ink);background:#fff;margin-top:6px}textarea{resize:vertical}select:focus,textarea:focus{outline:3px solid #9cab6f;outline-offset:3px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.choices{display:flex;flex-wrap:wrap;gap:8px 24px;margin:18px 0}.choices label{margin:4px 0}.button{display:inline-block;border:0;background:var(--green);color:white;text-decoration:none;border-radius:8px;padding:11px 20px;font:inherit;cursor:pointer;white-space:nowrap}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:24px 0}.ingredient-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;align-items:end;padding:18px 0;border-bottom:1px solid var(--line);margin-bottom:16px}.ingredient-row label{min-width:0}.ingredient-row>button{margin-bottom:14px}.step-row{padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:18px}.step-row .actions{margin:8px 0}.quiet:disabled{opacity:.4;cursor:default}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.catalog-grid .panel{margin:0;overflow-wrap:anywhere}.catalog-grid h2{font-size:24px}.search{display:flex;align-items:end;gap:18px;margin:22px 0}.search label{flex:1;margin:0}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.recipe-list li{margin-bottom:18px;overflow-wrap:anywhere}.recipe-list small{display:block;color:var(--muted)}summary{cursor:pointer;font-weight:600}.section-title{flex-wrap:wrap}.editor> .actions{position:sticky;bottom:0;background:var(--paper);padding:16px 0;border-top:1px solid var(--line)}@media(max-width:800px){header{align-items:flex-start;flex-direction:column}nav{width:100%;gap:12px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ingredient-row{grid-template-columns:1fr 1fr}.ingredient-row>label:first-child{grid-column:1/-1}.grid2{grid-template-columns:1fr;gap:8px}.search{flex-wrap:wrap}.search label:first-child{flex-basis:100%}}@media(max-width:480px){.catalog-grid{grid-template-columns:1fr}.panel{padding:20px}.section-title h1{font-size:34px}nav{font-size:14px}.button{white-space:normal}.ingredient-row{gap:8px}}
.search{flex-wrap:wrap}.search label{min-width:170px}.search label:first-of-type{flex:1.5}.data-sheet{overflow:auto;max-height:70vh;border:1px solid var(--line);border-radius:10px;background:#fff}.data-sheet:focus-visible{outline:3px solid #9cab6f;outline-offset:3px}.ingredients-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;text-align:left}.ingredients-table caption{text-align:left;padding:12px 16px;font-weight:600;color:var(--muted)}.ingredients-table th,.ingredients-table td{padding:11px 14px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);vertical-align:middle}.ingredients-table thead th{position:sticky;top:0;z-index:1;background:#e9eee4;white-space:nowrap;font-size:12px}.ingredients-table tbody th{min-width:220px;max-width:330px;font-weight:600;overflow-wrap:anywhere}.ingredients-table td{white-space:nowrap}.ingredients-table tbody tr:nth-child(even){background:#f7f9f4}.ingredients-table tbody tr:hover,.ingredients-table tbody tr:focus-within{background:#edf4e9}.ingredients-table tr>:last-child{border-right:0}.ingredients-table tbody tr:last-child>*{border-bottom:0}.sheet-hint{margin-top:10px}@media(max-width:480px){.search label{flex-basis:100%}.ingredients-table th,.ingredients-table td{padding:10px 12px}}

.drag-step{cursor:grab;align-self:start;touch-action:pan-y}.step-row.is-dragging{opacity:.55}.step-row:has(.drag-step){position:relative}.step-row .drag-step{margin-bottom:6px}

.recipes-table .recipe-category th{background:#e9eee4;padding:16px;white-space:normal}.recipe-category small{display:block;font-weight:normal;margin-top:5px}.recipes-table tbody th{max-width:none}.recipes-table .recipe-category:hover{background:#e9eee4}
