.recipe-page{max-width:var(--app-page-max);margin:34px auto 90px;padding:0 var(--app-page-gutter)}.recipe-page-head{display:flex;align-items:end;justify-content:space-between;padding:34px 38px;background:#292c2e;color:#fff}.recipe-page-head small{font:500 10px DM Mono;letter-spacing:2px;color:var(--orange)}.recipe-page-head h1,.recipe-page-head h2{margin:5px 0;font-size:34px}.recipe-page-head p{margin:0;color:#c6c8ca;font-size:12px}.recipe-page-head>span{font:500 12px DM Mono;color:#d2d4d5}.recipe-type-filters{display:flex;gap:8px;padding:12px 0;overflow:auto}.recipe-type-filters button{min-height:var(--touch-min);padding:0 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);white-space:nowrap;font-weight:700}.recipe-type-filters button.active{border-color:var(--orange);background:color-mix(in srgb,var(--orange) 10%,var(--surface));color:var(--orange)}.recipe-page-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);min-height:720px;border:1px solid var(--line);background:var(--surface)}.recipe-page-layout>aside{border-right:1px solid var(--line);background:var(--surface-soft)}.recipe-page-search{position:relative;padding:16px;border-bottom:1px solid var(--line)}.recipe-page-search>span{position:absolute;top:27px;left:30px;color:var(--text-muted)}.recipe-page-search input{width:100%;min-height:var(--touch-min);padding:0 12px 0 38px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}.recipe-page-list{max-height:780px;padding:8px;overflow:auto}.recipe-page-list>a{display:flex;min-height:72px;align-items:center;gap:11px;padding:10px;border:1px solid transparent;color:var(--text);text-decoration:none}.recipe-page-list>a:hover,.recipe-page-list>a.active{border-color:var(--orange);background:color-mix(in srgb,var(--orange) 10%,var(--surface))}.recipe-page-list img{width:42px;height:42px;object-fit:contain}.recipe-page-list span{min-width:0}.recipe-page-list strong,.recipe-page-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recipe-page-list strong{font-size:12px}.recipe-page-list small{margin-top:4px;color:var(--text-muted);font-size:10px}.recipe-detail{min-width:0;padding:34px}.recipe-detail-back{display:none}.recipe-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--line)}.recipe-detail-hero h2{margin:6px 0;font-size:30px}.recipe-detail-hero p{margin:0;color:var(--text-muted)}.recipe-kind-badge{display:inline-flex;min-height:28px;align-items:center;padding:0 9px;border-radius:999px;background:color-mix(in srgb,var(--orange) 10%,var(--surface));color:var(--orange);font-size:11px;font-weight:800}.recipe-calculate{min-height:var(--touch-min);padding:0 16px;border:0;border-radius:8px;background:var(--orange);color:#fff;font-weight:800}.recipe-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}.recipe-facts>div{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.recipe-facts dt{color:var(--text-muted);font-size:11px}.recipe-facts dd{margin:5px 0 0;font-weight:800}.recipe-detail-section{margin-top:28px}.recipe-detail-section h3{padding-bottom:10px;border-bottom:2px solid var(--text);font-size:15px}.recipe-part-list,.recipe-building-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.recipe-part-card,.recipe-building-card{display:flex;min-width:0;min-height:76px;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-decoration:none}.recipe-part-card:hover,.recipe-building-card:hover{border-color:var(--orange);background:color-mix(in srgb,var(--orange) 10%,var(--surface))}.recipe-part-card img,.recipe-building-card img{width:48px;height:48px;object-fit:contain}.recipe-part-card span,.recipe-building-card span{min-width:0}.recipe-part-card strong,.recipe-part-card small,.recipe-building-card strong,.recipe-building-card small{display:block;overflow-wrap:anywhere}.recipe-part-card small,.recipe-building-card small{margin-top:4px;color:var(--text-muted)}.recipe-part-card b{margin-left:auto;white-space:nowrap;color:var(--orange)}.recipe-empty{padding:28px;color:var(--text-muted);text-align:center}.item-recipes-entry{display:inline-flex;min-height:var(--touch-min);align-items:center;margin-top:14px;padding:0 13px;border:1px solid #ffffff55;border-radius:7px;color:#fff;text-decoration:none;font-weight:700}.building-products .product-card{grid-template-columns:48px minmax(0,1fr) auto;cursor:default}.building-products .product-card a{color:inherit;text-decoration:none}.building-products .product-card a:hover{text-decoration:underline}.building-products .product-card>button{min-width:72px;min-height:var(--touch-min);border:0;background:transparent;color:var(--orange);font:700 11px DM Mono;cursor:pointer}.building-products .product-card>button small{color:var(--text-muted)}@media(max-width:850px){.recipe-page{margin-top:20px;padding:0 14px}.recipe-page-head{padding:24px}.recipe-page-layout{display:block;min-height:0}.recipe-page-layout>aside{border-right:0}.recipe-page-list{max-height:none}.recipe-detail{display:none;padding:22px}.recipe-page.show-mobile-detail .recipe-page-layout>aside{display:none}.recipe-page.show-mobile-detail .recipe-detail{display:block}.recipe-detail-back{display:inline-flex;min-height:var(--touch-min);align-items:center;margin-bottom:18px;padding:0 14px;border:1px solid var(--line);background:var(--surface);color:var(--text);text-decoration:none;font-weight:700}.recipe-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.recipe-page-head p,.recipe-page-head>span{display:none}.recipe-page-head h1,.recipe-page-head h2{font-size:25px}.recipe-detail-hero{display:block}.recipe-calculate{width:100%;margin-top:16px}.recipe-facts,.recipe-part-list,.recipe-building-list{grid-template-columns:1fr}}
