.table-wrap{overflow:auto}#list table{min-width:800px;width:100%}.recipe-component{border-bottom:1px solid #3d465b;padding:16px 0}.recipe-component .form-grid{grid-template-columns:2fr 1fr 1fr}.recipe-component small{display:block}.recipe-actions{position:sticky;bottom:0;background:#172131;padding:16px;z-index:2}.recipe-sheet h2{break-after:avoid}.recipe-sheet img{object-fit:contain}#stats .card{padding:20px}#stats strong{font-size:1.6rem;display:block}textarea{min-height:100px}#editor fieldset{margin:16px 0;border:1px solid #47516a;border-radius:12px;padding:18px}.channel-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}@media(max-width:700px){.recipe-component .form-grid,.channel-fields{grid-template-columns:1fr}}@media print{body{background:white!important;color:black!important}.sidebar,h1,#overview,#editor,#message,.no-print,.recipe-actions{display:none!important}.shell{margin:0!important;padding:0!important}main{padding:0!important}.card{background:white!important;color:black!important;border:0!important;box-shadow:none!important}.recipe-sheet{color:black!important}.recipe-sheet p,.recipe-sheet small{color:black!important}.product-photo{display:none}.table-wrap{overflow:visible}td,th{color:black!important;border-color:#aaa!important}button{display:none!important}}
#list table{min-width:920px;table-layout:auto}#list td:not(:first-child),#list th:not(:first-child),#list button{white-space:nowrap;word-break:normal;overflow-wrap:normal}#list td:first-child{min-width:190px}#editor .field{margin-bottom:12px}.recipe-sheet td{overflow-wrap:anywhere}

#article-form fieldset{border:1px solid #47516a;border-radius:12px;padding:14px;margin:12px 0}#alternatives{max-height:240px;overflow:auto}#article-form h3{margin-top:24px}#article-form .field{margin-bottom:12px}

.recipe-toolbar{display:flex;justify-content:space-between;gap:16px;margin:10px 0 22px}.recipe-toolbar>div{display:flex;gap:10px}.recipe-heading{display:flex;align-items:center;gap:24px;margin-bottom:20px}.recipe-heading h2{font-size:32px;line-height:1.2;margin:8px 0 16px}.recipe-tags{display:flex;gap:8px;flex-wrap:wrap}.recipe-tags span{background:#29354a;color:#dae0f0;padding:5px 12px;border-radius:20px;font-size:12px}.recipe-cover .product-photo{width:88px;height:88px}.recipe-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.recipe-metrics .card{padding:20px;margin:0}.recipe-metrics span,.recipe-metrics small{display:block;color:#a9b9d1}.recipe-metrics strong{display:block;font-size:27px;margin:10px 0}.recipe-metrics strong.unknown{font-size:22px;color:#e3c993}.recipe-metrics small{font-size:11px;line-height:1.5}.recipe-attention{padding:18px 22px;border:1px solid #715b3b;background:#30291f;border-radius:14px;margin-bottom:24px;color:#f1d6a5}.recipe-attention summary{cursor:pointer;font-weight:650}.recipe-attention p,.recipe-attention li{color:#ddc6a4;font-size:13px}.recipe-columns{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(260px,1fr);gap:20px}.recipe-section{padding:24px;margin-bottom:20px}.recipe-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.recipe-section h3{margin:0 0 14px;font-size:19px}.recipe-section-title h3{margin:0}.recipe-section .eyebrow{margin:0 0 8px}.recipe-section table{table-layout:auto;min-width:560px}.recipe-section td{padding:18px 12px}.recipe-section td:first-child{min-width:170px}.recipe-section td:not(:first-child){white-space:nowrap;overflow-wrap:normal}.recipe-section td a{display:block;padding:3px 0}.recipe-context p,.recipe-context li{font-size:13px;line-height:1.7}.recipe-context ul{padding-left:18px}.recipe-context details{margin:16px 0}.recipe-context{min-width:0}.recipe-context p{overflow-wrap:anywhere}.recipe-empty{border:1px dashed #445169;border-radius:12px;padding:24px;background:#141e2d}.recipe-empty p{margin-bottom:0;font-size:13px}.recipe-steps{padding-left:28px}.recipe-steps li{padding:10px 0 16px 12px;line-height:1.7}.recipe-steps li::marker{color:#b8a0fc;font-weight:bold}.recipe-sheet .recipe-section p.muted{font-size:12px}
@media(max-width:1150px){.recipe-columns{grid-template-columns:1fr}.recipe-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.recipe-toolbar{flex-wrap:wrap}.recipe-toolbar>div{flex-wrap:wrap}.recipe-heading{gap:14px}.recipe-heading h2{font-size:25px}.recipe-section{padding:18px}.recipe-section-title{align-items:start;flex-direction:column}.recipe-metrics .card{padding:14px}.recipe-metrics strong{font-size:23px}}
@media print{.recipe-columns{display:block}.recipe-heading{padding:0}.recipe-heading h2{font-size:24px}.recipe-tags span{background:none;color:black;padding:0 10px 0 0}.recipe-section{padding:10px 0;margin:0;break-inside:avoid}.recipe-section table{min-width:0}.recipe-empty{background:none;border-color:#aaa}.recipe-empty strong,.recipe-steps li{color:black}.recipe-context{display:block}.recipe-toolbar{display:none}}

#editor>.card{max-width:1150px;margin:auto}#editor>article>h2{font-size:26px}#editor .recipe-component{padding:22px;border:1px solid #3d4960;border-radius:14px;background:#121c2c;margin:18px 0}.component-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.component-heading h4,.recipe-usage h4{margin:0 0 16px;font-size:16px}.component-heading .remove-line{font-size:12px;background:none;color:#c0cada;border-color:#415069}.component-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px}.component-results:empty{display:none}.component-results{max-height:310px;overflow:auto;margin:0 0 18px;border:1px solid #485775;border-radius:10px;padding:10px}.component-results>p{font-size:12px;margin:4px 8px 10px}.choose-component{display:block;width:100%;text-align:left;margin:4px 0;padding:13px;background:#202d42;border:0}.choose-component:hover{background:#344361}.choose-component small{font-size:12px;margin-top:5px;color:#b0c1d9}.selected-product{border-left:3px solid #b9a1ff;padding:12px 16px;background:#20283f}.selected-product strong,.selected-product span{display:block;margin-top:6px}.selected-product small{font-size:10px;letter-spacing:.1em;color:#bcabed}.selected-product span{font-size:12px;color:#bbcade}.purchase-pack{padding:16px;font-size:13px;border:1px solid #2e3c51;border-top:0;margin-bottom:20px}.purchase-pack p{font-size:13px;margin:7px 0}.recipe-usage{padding-top:20px;border-top:1px solid #364156;margin-top:20px}.recipe-component .recipe-usage .form-grid{grid-template-columns:1fr 1fr}.usage-summary{background:#253347;padding:12px;border-radius:8px;font-size:13px;color:#d9e5f7}.component-source{font-size:12px;margin-top:14px;color:#a6b7d2}.recipe-actions{border-top:1px solid #47536a;box-shadow:0 -10px 30px #10172580}.recipe-actions button{margin-right:8px}#editor .recipe-composition>p{font-size:14px;max-width:850px;line-height:1.65}@media(max-width:650px){.component-filters,.recipe-component .recipe-usage .form-grid{grid-template-columns:1fr}#editor .recipe-component{padding:14px}.component-heading{align-items:start}}

#list .source-price{display:block;margin-top:6px;font-size:11px;color:#b7c3d8}.recipe-source-summary{display:block;margin-bottom:20px;border-left:3px solid #b6a0f5}.recipe-source-summary h3{margin:0 0 10px}.recipe-source-summary p{margin:8px 0;font-size:13px;line-height:1.7}
/* Status stays readable through both its label and colour. */
.recipe-status,.recipe-tags .recipe-status { display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border:1px solid transparent; border-radius:999px; font-size:12px; font-weight:700; white-space:nowrap; }
.recipe-status::before { content:''; width:6px; height:6px; background:currentColor; border-radius:50%; }
.recipe-status.ready,.recipe-tags .recipe-status.ready { color:#9aebbf; background:#183b31; border-color:#347458; }
.recipe-status.draft,.recipe-tags .recipe-status.draft { color:#ffd299; background:#47351f; border-color:#846238; }
.recipe-status.archived,.recipe-tags .recipe-status.archived { color:#c7cfdf; background:#293447; border-color:#49596e; }
.recipe-allergen-list{list-style:none;padding:0}.recipe-allergen-list>li{margin:20px 0}.recipe-allergen-icons{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:12px 0}.recipe-allergen-icon{position:relative;display:block;background:white;border:2px solid #64748b;border-radius:7px;padding:3px}.recipe-allergen-icon img{display:block;width:100%;height:auto;object-fit:contain}.recipe-allergen-icon span{position:absolute;right:-4px;bottom:-5px;border-radius:50%;background:#243044;color:white;width:18px;height:18px;text-align:center;font-size:11px;line-height:18px;font-weight:bold}.recipe-allergen-icon.contains{border-color:#eb8298}.recipe-allergen-icon.may{border-color:#eebc60}.recipe-allergen-icon.unknown{border-style:dashed}.allergen-key{font-size:12px!important;line-height:1.7}@media print{.recipe-allergen-icon span{background:white;color:black;border:1px solid black}.recipe-allergen-icon{break-inside:avoid}}
