.cookbook{background:var(--background);height:100%;color:var(--foreground);font-family:inherit;overflow:auto}.cookbook header,.cookbook main{margin:0 auto;padding:12px 16px}.cookbook header{border-bottom:1px solid var(--border);padding-top:10px;padding-bottom:10px}.cookbook .heading{align-items:center;gap:10px;display:flex}.cookbook .heading>img{object-fit:contain;width:28px;height:28px}.cookbook h1{letter-spacing:0;margin:0 0 2px;font-size:16px;font-weight:650}.cookbook p{margin:.4em 0;line-height:1.5}.cookbook .heading p{color:var(--muted-foreground);margin:0;font-size:12px}.cookbook main{padding-top:12px}.cookbook .article-intro{max-width:720px;margin:0 0 12px}.cookbook .article-intro h2{margin:0 0 4px;font-size:14px;font-weight:650}.cookbook .article-intro p{color:var(--muted-foreground);margin:4px 0;font-size:12px}.cookbook .article-note{font-size:11px}.cookbook .jump-link{color:var(--foreground);text-underline-offset:3px;margin-top:4px;font-size:12px;display:inline-block}.cookbook a{color:var(--foreground)}.cookbook .toolbar{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px 12px}.cookbook .search{background:var(--background);border:1px solid var(--input);border-radius:8px;align-items:center;gap:8px;max-width:420px;height:32px;padding:0 10px;display:flex}.cookbook .search span{color:var(--muted-foreground);font-size:14px;line-height:1}.cookbook input{color:var(--foreground);font:inherit;background:0 0;border:none;outline:none;width:100%;font-size:13px}.cookbook input::placeholder{color:var(--muted-foreground)}.cookbook .filters{flex-wrap:wrap;align-items:flex-end;gap:8px;margin-top:8px;display:flex}.cookbook .filters label{color:var(--muted-foreground);letter-spacing:0;gap:4px;font-size:11px;display:grid}.cookbook select,.cookbook button{font:inherit}.cookbook select{background:var(--background);border:1px solid var(--input);color:var(--foreground);border-radius:8px;min-width:120px;height:28px;padding:0 24px 0 8px;font-size:12px}.cookbook .filters>button{cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--muted-foreground);border-radius:999px;height:28px;padding:0 12px;font-size:12px;font-weight:500}.cookbook .filters>button:hover{color:var(--foreground);background:var(--surface-hover)}.cookbook button:focus-visible,.cookbook input:focus-visible,.cookbook select:focus-visible,.cookbook .card:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.cookbook .summary{justify-content:space-between;align-items:center;margin:12px 0 8px;font-size:12px;display:flex}.cookbook .summary b{color:var(--foreground);margin-right:8px;font-size:13px}.cookbook .summary span{color:var(--muted-foreground);font-size:11px}.cookbook .summary button{cursor:pointer;color:var(--muted-foreground);background:0 0;border:0;padding:0;font-size:12px}.cookbook .summary button:hover{color:var(--foreground);background:0 0;text-decoration:underline}.cookbook .legend{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:10px;font-size:11px;display:flex}.cookbook .legend span{align-items:center;gap:4px;display:flex}.cookbook .legend img{object-fit:contain;width:14px;height:14px}.cookbook .grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px;display:grid}.cookbook .card{background:var(--surface);border:1px solid var(--border);cursor:pointer;text-align:left;color:inherit;border-radius:12px;padding:10px 10px 8px;transition:background .15s}.cookbook .card:hover{background:var(--surface-hover)}.cookbook .card-top{align-items:flex-start;gap:6px;display:flex}.cookbook .dish{text-align:center;flex-shrink:0;width:40px}.cookbook .dish img{object-fit:contain;width:36px;height:36px}.cookbook .stats{flex:1;grid-template-columns:repeat(3,1fr);gap:4px;padding-top:0;display:grid}.cookbook .stat{text-align:center;white-space:nowrap}.cookbook .stat img{object-fit:contain;width:16px;height:16px}.cookbook .stat strong{color:var(--foreground);font-variant-numeric:tabular-nums;margin:1px 0;font-size:12px;font-weight:650;display:block}.cookbook .stat .negative{color:#ef4444}.cookbook .stat small{color:var(--muted-foreground);font-size:9px}.cookbook .title{letter-spacing:0;margin:4px 0 1px;font-size:13px;font-weight:650;line-height:1.3}.cookbook .en{color:var(--muted-foreground);margin:0 0 4px;font-size:10px}.cookbook .tags{flex-wrap:wrap;gap:3px;margin-bottom:6px;font-size:10px;display:flex}.cookbook .tag{border:1px solid var(--border);background:var(--background);color:var(--muted-foreground);border-radius:4px;padding:1px 4px}.cookbook .tag.meat{color:var(--foreground);background:#ef44441f}.cookbook .examples{gap:4px;display:grid}.cookbook .example{grid-template-columns:14px repeat(4,minmax(0,1fr));align-items:start;gap:3px;display:grid}.cookbook .mini-pot{object-fit:contain;width:14px;height:16px;margin-top:4px}.cookbook .ingredient{text-align:center;min-width:0}.cookbook .ingredient img{object-fit:contain;width:22px;height:22px}.cookbook .ingredient span{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:9px;line-height:1.25;display:block}.cookbook .condition{color:var(--muted-foreground);border-top:1px solid var(--border);min-height:0;margin-top:6px;padding-top:5px;font-size:10px;line-height:1.45}.cookbook .condition b{color:var(--foreground)}.cookbook .effect{color:var(--foreground);margin:4px 0 0;font-size:10px;line-height:1.4}.cookbook .meta{color:var(--muted-foreground);border-top:1px solid var(--border);justify-content:space-between;gap:4px;margin-top:5px;padding-top:5px;font-size:9px;display:flex}.cookbook .more{color:var(--muted-foreground);margin-top:4px;font-size:10px;display:block}.cookbook .risk{color:#d97706;margin:2px 0;font-size:9px}.cookbook .empty-note{text-align:center;color:var(--muted-foreground);padding:40px 16px;font-size:13px}.cookbook footer{border-top:1px solid var(--border);color:var(--muted-foreground);margin-top:20px;padding-top:12px;font-size:11px;line-height:1.6}.cookbook dialog{background:var(--surface);border:1px solid var(--border);color:var(--foreground);border-radius:12px;width:calc(100% - 32px);max-width:720px;max-height:90vh;margin:auto;padding:20px;position:relative;overflow:auto}.cookbook dialog::backdrop{background:color-mix(in srgb, var(--foreground) 35%, transparent)}.cookbook .close{cursor:pointer;color:var(--muted-foreground);background:0 0;border:0;padding:0 6px;font-size:22px;line-height:1;position:absolute;top:8px;right:10px}.cookbook .close:hover{color:var(--foreground);background:0 0}.cookbook .detail-heading{align-items:center;gap:12px;padding-right:24px;display:flex}.cookbook .detail-heading img{object-fit:contain;width:56px;height:56px}.cookbook .detail-heading h2{margin:0 0 2px;font-size:18px}.cookbook .detail-heading p{color:var(--muted-foreground);margin:0;font-size:12px}.cookbook .detail-stats{background:var(--background);border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(3,1fr);margin:12px 0;padding:10px;display:grid}.cookbook .detail-stats .stat img{width:22px;height:22px}.cookbook .detail-stats .stat strong{font-size:14px}.cookbook .detail-stats .stat small{font-size:10px}.cookbook .detail-rule{border-left:2px solid var(--border);padding:2px 12px;font-size:13px;line-height:1.6}.cookbook .detail-rule p{margin:4px 0}.cookbook .detail-examples .example{grid-template-columns:18px repeat(4,minmax(0,1fr));max-width:360px;margin:8px 0}.cookbook .detail-examples .ingredient img{width:32px;height:32px}.cookbook .detail-examples .ingredient span{font-size:11px}.cookbook .detail-examples .mini-pot{width:16px;height:20px}.cookbook .detail-ingredients{flex-wrap:wrap;gap:8px;display:flex}.cookbook .detail-ingredients .ingredient{background:var(--background);border:1px solid var(--border);border-radius:8px;width:64px;padding:6px}.cookbook .detail-ingredients button.ingredient{cursor:pointer;font:inherit;color:inherit}.cookbook .detail-ingredients button.ingredient:hover{background:var(--surface-hover)}.cookbook .detail-ingredients .ingredient img{width:32px;height:32px}.cookbook .detail-ingredients .ingredient span{font-size:11px}.cookbook .source{color:var(--muted-foreground);overflow-wrap:anywhere;margin-top:16px;font-size:11px;line-height:1.6}.cookbook .image-pane{text-align:center;background:var(--background);border:1px solid var(--border);border-radius:12px;padding:12px}.cookbook .image-pane img,.cookbook .full-image{object-fit:contain;min-width:48px;max-width:100%;height:auto;max-height:220px}.cookbook h3{margin:14px 0 6px;font-size:13px}.cookbook dialog h2{margin:0 28px 8px 0;font-size:16px}.cookbook dialog p{color:var(--muted-foreground);font-size:13px}@media (width<=650px){.cookbook .filters label{width:calc(50% - 4px)}.cookbook select{width:100%;min-width:0}.cookbook .summary span{display:none}}
