.path-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:2px 0}.path-step{display:flex;align-items:flex-start}.path-tile{width:40px;text-align:center}.path-icon{position:relative;width:38px;height:38px;margin:0 auto;display:flex;align-items:center;justify-content:center;font-size:22px;background:var(--cell);border:1.5px solid var(--cell-border);border-radius:9px}.path-icon .item-img{width:32px;height:32px}.path-name{margin-top:2px;font-size:9px;line-height:1.15;font-weight:700;color:var(--muted);min-height:21px}.path-lv{position:absolute;right:-3px;bottom:-3px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:var(--accent);color:#fff;font-size:10px;font-weight:800;line-height:15px}.path-arrow{width:8px;margin-top:8px;text-align:center;font-weight:900;color:var(--muted)}.path-tile.is-generator .path-icon{background:#dbeafe;border-color:#93c5fd}.path-tile.is-target .path-icon{border-color:var(--accent);box-shadow:0 0 0 2px #f9731659}.path-tile.is-target .path-name{color:var(--accent-dark)}.path-tile.is-locked .path-icon{background:#ece4dc;border-style:dashed;color:#b8aa9c;font-weight:900}.recipe-card{max-width:340px}.recipe-body{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;text-align:left}.recipe-body .path-row{margin-bottom:4px}.recipe-body .path-tile{width:46px}.recipe-body .path-icon{width:44px;height:44px}.recipe-body .path-icon .item-img{width:38px;height:38px}.recipe-body .path-name{font-size:9.5px}.recipe-body .path-arrow{margin-top:10px}.recipe-step{font-size:13px;line-height:1.35}.recipe-cost{margin-top:2px;font-size:13px;font-weight:800;color:var(--accent-dark)}.ingredient-sources{display:flex;flex-direction:column;gap:8px}.ingredient-source-row{flex-wrap:wrap;row-gap:4px}.ingredient-source-row .path-tile.is-generator .path-name{font-weight:700}.orders-hint{margin-top:3px;text-align:center;font-size:10px;color:var(--muted)}.req-chip{cursor:pointer}#cookbook-view{flex:1 1 0;min-height:0;overflow-y:auto;padding:6px 4px}.cb-head{text-align:center;position:sticky;top:-6px;z-index:5;margin:-6px -4px 8px;padding:6px 4px 8px;background:var(--bg);border-radius:0 0 16px 16px;box-shadow:0 6px 12px -6px #4a2c132e}.cb-level{font-size:26px;font-weight:900;color:var(--accent-dark);line-height:1.1}.cb-sub{font-size:12px;color:var(--muted);font-weight:600}.cb-card{margin-bottom:8px;padding:8px 8px 6px;background:var(--panel);border-radius:14px;box-shadow:var(--shadow)}.cb-card.is-locked{background:#f4eee8;box-shadow:none}.cb-title{display:flex;align-items:center;gap:8px;margin-bottom:6px}.cb-dish-icon{width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;font-size:26px;background:var(--cell);border:1.5px solid var(--cell-border);border-radius:11px}.cb-dish-icon .item-img{width:38px;height:38px}.cb-name{flex:1;font-weight:800;font-size:15px}.cb-badge{padding:2px 9px;border-radius:999px;background:#e7ddd3;color:#7a6a5c;font-size:11px;font-weight:800}.cb-badge.is-open{background:#dcfce7;color:#166534}.cb-note{margin-top:4px;font-size:11px;color:var(--muted);text-align:center}.cb-steps{display:flex;flex-direction:column;gap:4px;padding:4px 0}.cb-card.is-locked .cb-steps{opacity:.55}.cb-need{margin-bottom:4px;font-size:11.5px;font-weight:700;color:#b45309}.cb-note.is-merge-hint{font-size:11px;font-weight:700;color:#157347;margin-top:2px}.cb-card .cb-note{text-align:left}.recipe-step-row{flex-wrap:nowrap;align-items:flex-start;gap:0;overflow-x:auto}.recipe-step-row .path-tile{width:54px;flex:0 0 auto}.recipe-step-row .path-icon{width:46px;height:46px}.recipe-step-row .path-icon .item-img{width:40px;height:40px}.recipe-step-row .path-name{font-size:10px}.recipe-op{width:16px;margin-top:12px;font-size:16px}.cb-modes{display:flex;gap:6px;justify-content:center;margin:6px 0}.cb-mode{flex:1;max-width:170px;padding:6px 8px;border:1.5px solid var(--cell-border);border-radius:999px;background:var(--panel);color:var(--muted);font-size:12.5px;font-weight:800;cursor:pointer}.cb-mode.active{background:var(--accent);border-color:var(--accent-dark);color:#fff}.cb-toggle-all{margin-top:6px;padding:5px 14px;border:1.5px solid var(--accent);border-radius:999px;background:#fff7ed;color:var(--accent-dark);font-size:12px;font-weight:800;cursor:pointer}.cb-clickable{cursor:pointer;margin-bottom:0}.cb-basket.is-open .cb-title{margin-bottom:6px}.cb-basket-info{flex:1}.cb-basket-info .cb-note{margin-top:1px;text-align:left}.cb-chevron{color:var(--muted);font-size:12px;font-weight:900}.bp-note{margin-bottom:6px;font-size:11px;color:var(--muted);font-weight:600;text-align:left}.bp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px}.bp-tile{text-align:center;padding:4px 2px;border-radius:10px;background:#fffaf3;border:1px solid var(--cell-border)}.bp-icon{width:46px;height:46px;margin:0 auto;display:flex;align-items:center;justify-content:center;font-size:26px;background:var(--cell);border:1.5px solid var(--cell-border);border-radius:10px}.bp-icon .item-img{width:40px;height:40px}.bp-name{margin-top:2px;font-size:10.5px;font-weight:800;line-height:1.15;min-height:24px}.bp-sub{font-size:10.5px;font-weight:800;color:#15803d}.bp-tile.is-locked{background:#f4eee8;border-style:dashed}.bp-tile.is-locked .bp-icon{background:#ece4dc;border-style:dashed;color:#b8aa9c;font-weight:900}.bp-tile.is-locked .bp-name{color:var(--muted)}.bp-tile.is-locked .bp-sub{color:#b45309}.bp-tile.has-chain{background:#eef6f0;border-style:solid;border-color:#a7d7b5}.bp-tile.has-chain .bp-icon{background:#fff;border-style:solid}.bp-tile.has-chain .bp-name{color:var(--ink)}.bp-tree{display:flex;flex-wrap:nowrap;gap:14px 10px;align-items:flex-start;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}.bp-tree-col{display:flex;flex-direction:column;align-items:center;width:82px;flex:none}.bp-tree-node{width:100%}.bp-tree-node.is-root .bp-icon{border-color:var(--accent);border-width:2px}.bp-tree-node:not(.is-root){background:#eef6f0;border-color:#a7d7b5}.bp-tree-node:not(.is-root) .bp-icon{background:#fff}.bp-tree-node:not(.is-root).is-locked{background:#f4eee8;border-color:var(--cell-border)}.bp-tree-node:not(.is-root).is-locked .bp-icon{background:#ece4dc}.bp-tree-node:not(.is-root).is-locked .bp-sub{color:var(--muted);font-size:9px}.bp-tree-arrow{display:flex;flex-direction:column;align-items:center;padding:2px 0}.bp-tree-arrow-line{width:2px;height:10px;background:#a7d7b5;position:relative}.bp-tree-arrow-line:after{content:"";position:absolute;bottom:-1px;left:50%;transform:translate(-50%);border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #a7d7b5}.bp-tile.has-chain .bp-sub{color:#157347;font-size:9.5px}.recipe-card{display:flex;flex-direction:column;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px)}.recipe-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.recipe-card .popup-title{flex:none;font-size:19px}.recipe-card>.popup-actions{flex:none}.recipe-body .basket-upgrade{position:sticky;top:0;z-index:2;flex:none}.recipe-cook{display:flex;flex-direction:column;gap:2px}.recipe-station{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:800;color:#9a3412}.recipe-station-icon{display:inline-flex;width:18px;height:18px}.recipe-station-icon .item-img{width:18px;height:18px}.recipe-list-item{padding:6px 4px 4px;border-top:1px solid var(--cell-border)}.recipe-list-item.is-locked{opacity:.55}.recipe-list-title{margin-bottom:2px;font-size:12.5px;font-weight:800}.station-status-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa}.station-status-icon{display:inline-flex;width:40px;height:40px}.station-status-icon .item-img{width:40px;height:40px}.station-status-line{font-size:12.5px;font-weight:700}.station-chips-row{display:flex;gap:4px;justify-content:center;flex-wrap:wrap}.path-tile-removable{cursor:pointer}.path-tile-removable .path-icon{position:relative;transition:transform .12s ease,border-color .12s ease}.path-tile-removable:hover .path-icon,.path-tile-removable:active .path-icon{border-color:#ef4444;transform:scale(.94)}.path-tile-removable .path-icon:after{content:"\2715";position:absolute;top:-5px;right:-5px;width:15px;height:15px;line-height:15px;font-size:10px;font-weight:900;color:#fff;background:#ef4444;border-radius:50%;border:1.5px solid #fff}
